File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL 2.0 webservice with axis2

 
denise Wu
Greenhorn
Posts: 3
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic