Hi
Axis2 version - 1.0
I am able to use the WSDL2Java script to generate client side code for standard webservices like Google (
http://api.google.com/GoogleSearch.wsdl
)
or Amazon(http://soap.amazon.com/schemas2/AmazonWebServices.wsdl)
but the "Service" class generated has methods that always have generic
OMElement as parameters or return types. This is not the case when I
use the sample WSDL that is part of Axis2 download (
Axis2SampleDocLit.wsdl). The "Service" generated has methods with the
specific data types as input/output allowing me to use
Factory.newInstance and pass the specific object to invoke the service.
One
difference between the WSDL that I notice is that there are specific
element definitions for complex types in the sample WSDL that you ship
and the message tags reference these elements. This is not the case in
the other WSDL files out there. Can you let me know if there is any
option that I need to turn on the get the WSDL2Java to generate the
service methods with the right data bindings instead of generic
OMElement instances ?
Axis 1.x code generation used to generate the stubs correctly for
Google and Amazon. We have a WSDL that follows the same style and are
currently using Axis 1.x and this code generation has become a major
issue for us to migrate to Axis2.
Any info is appreciated.
Thanks
Shyam
- [Axis2] - WSDL2Java code generation using XMLBeans Shyam Eranky
- Re: [Axis2] - WSDL2Java code generation using XMLB... Davanum Srinivas
- Re: [Axis2] - WSDL2Java code generation using XMLB... Amila Suriarachchi
- Re: [Axis2] - WSDL2Java code generation using ... Davanum Srinivas
