Java2WSDL (with Axis2)

K

Kevin

Hello,

i am trying to write a web service with java and axis2. but i have a
problem creating the wsdl-file cause i don't find the java2wsdl.
in the api it isn't listed either?! so how do i create the wsdl-file
with axis2?

if i deploy my service without a wsdl-file, axis2 says: "Unable to
generate WSDL for this serviceEither user has not dropped the wsdl into
META-INF or operations use message receivers other than RPC"

please help me!!! i have read so many things in the web but haven't
found anything which helps me...

thanks!
kevin
 
R

robert

Kevin escreveu:
Hello,

i am trying to write a web service with java and axis2. but i have a
problem creating the wsdl-file cause i don't find the java2wsdl.
in the api it isn't listed either?! so how do i create the wsdl-file
with axis2?

if i deploy my service without a wsdl-file, axis2 says: "Unable to
generate WSDL for this serviceEither user has not dropped the wsdl into
META-INF or operations use message receivers other than RPC"

please help me!!! i have read so many things in the web but haven't
found anything which helps me...

thanks!
kevin

First off all, I recommend creating the wsdl first, often called the
'contract first' approach.

Second, use the nightlies as axis2 is approaching a 1.1 release and
there have been _lots_ of changes:

http://people.apache.org/dist/axis2/nightly/

Lastly, follow this tutorial here; it goes thru the whole process with
a simple wsdl, starting from scratch:

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html#invoking

HTH,
Robert
http://www.braziloutsource.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top