logo       

Re: AW: jboss-net and axis: msg#00057

java.jboss.user

Subject: Re: AW: jboss-net and axis

At 04:30 PM 7/1/2002 +0200, you wrote:
Bruce,

Since we did a few "patches" to the axis-beta (I´ll be changing this policy
in the near future to include the
patched sources into jboss.net instead), I did not plan to include every
beta into jboss-net (especially since there is
nothing spectacular in functionality in beta2 from my point of view ... But
I do not use the jws approach altogether!).

When deploying services not a jws files but as plain java classes together
with a META-INF/web-service.xml (which is an
ordinary AXIS wsdd), you will get the wsdl working without switching to
axis-beta2 (which I think has added just that, wsdl generation for jws). See
the examples in the testsuite: hello.wsr in hello.ear, store.wsr in
store.ear etc.

Since beta3 is underway I would suggest to wait a bit until upgrading
because I have got a few other
patches to the WSDL-Emitter of beta1 pending (generating xsd for
typemappings and other funky stuff).

The fact that jws works which I have not tried however indicates that the
step from beta1 to beta3 will not
be to hard and should be doable in a day or so.

Could you please report back whether you managed to switch from jws to
POJO/EJB/Mbean/Whatever+wsdd with my hints?
CGJ


Christoph,

I've done some trial and error and found that the jws file don't seem to work under jboss-net. Oh, well, no big deal as they are not that useful in production I imagine anyways. As you say, a web-services.xml file and a class file bundled together work fine (once you get the target name sorted out). That is were being able to debug/discover things about the app is useful by getting the wsdl file on the fly. So yes the jars from axis-beta2 do have a use. In production no, (well there is the whole security question for some that you might want kept quiet about).

Anyways, I've put up a simple hello world app using the barest of files to get things going for those who don't want to download the sourcecode. I'll change it over to the preferred template method using xdoclet, etc when I get a chance. This just uses the old ant type build system.

http://www.csd.abdn.ac.uk/%7Ebscharla/jboss-net-helloWorld.html



Cheers,

Bruce

Dr. Bruce A. Scharlau
Dept. of Computing Science
Aberdeen University
Aberdeen AB24 3UE
scharlau@xxxxxxxxxxxxxx
http://www.csd.abdn.ac.uk/~bscharla/
01224 272193



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise