Please create a JIRA and then upload your wsdl's.

-- dims

On 11/13/06, Shyam Eranky <[EMAIL PROTECTED]> wrote:
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



--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to