| 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!
|
 |
 |
|
|
subject: WSDL 2.0 webservice with axis2
|
|
|