Re: Java2WSDL (with Axis2)




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/

.



Relevant Pages

  • Java2WSDL (with Axis2)
    ... i am trying to write a web service with java and axis2. ... problem creating the wsdl-file cause i don't find the java2wsdl. ... generate WSDL for this serviceEither user has not dropped the wsdl into ...
    (comp.lang.java.programmer)
  • [long] webservices, moving on from Axis
    ... I'm currently trying to migrate from Axis (aka Axis1) to any other web ... practically no one can write WSDL, ... So I focused on Axis2, the logical replacement for Axis, and JAX- ... I found an Ant target ...
    (comp.lang.java.programmer)
  • Re: Create new thread from Web Service
    ... Any pointers to the web service ... spawns a background process that will keep running after the web ... Use the Axis2 framework to develop an asynchronous service, ... web container. ...
    (comp.lang.java.programmer)
  • Re: Apache Axis2 - create a client to access a SOAP service
    ... I am new to SOAP and Axis2, but here is what I am trying to do. ... accesses this web service. ... Google Page, ...
    (comp.lang.java.programmer)
  • Re: Apache Axis2 - create a client to access a SOAP service
    ... cdvr wrote: ... I am new to SOAP and Axis2, but here is what I am trying to do. ... There is a web service which has a URL that I can view: ...
    (comp.lang.java.programmer)