aspose file tools*
The moose likes Web Services and the fly likes WSDL 2.0 webservice with axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL 2.0 webservice with axis2" Watch "WSDL 2.0 webservice with axis2" New topic
Author

WSDL 2.0 webservice with axis2

denise Wu
Greenhorn

Joined: Feb 18, 2011
Posts: 3

Hi all,

I have a wsdl 2.0 file and corresponding xsd files that I use to generate server and client code.
In order to generate the code I am using the wsdl2java tool that comes with axis2 with the option -wv 2.0

After deploying the *.aar file in tomcat, the http://localhost:8080/axis2/services/listServices page displays my service and the available methods.

However I am having trouble invoking the webservice methods. Trying the invocation using the browser (http://localhost:8080/axis2/services/UserService/add?param0=11,param1=12) returns the following error:

org.apache.axis2.databinding.ADBException: Unexpected subelement add

Any idea? many thanks!




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL 2.0 webservice with axis2
 
Similar Threads
Why cant i see my WSDL
Axis2- Enabling Admin service
SOAP JMS
Jax-WS 2.1 can hit the wsdl in the browser but the client cannot find it.
Unexpected character '"' (code 34) in DOCTYPE declaration