wood burning stoves 2.0*
The moose likes Web Services and the fly likes Meaningful Parameter names in wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Meaningful Parameter names in wsdl" Watch "Meaningful Parameter names in wsdl" New topic
Author

Meaningful Parameter names in wsdl

rakesh kumar nampally
Ranch Hand

Joined: Feb 03, 2007
Posts: 46
hi all

i am developing web services using axis2 + spring. we deploy web service as aar file in axis2 container.

when we browse wsdl this is how we are getting parameter names:

<xs:sequence>
<xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="param2" nillable="true" type="xs:string"/>
</xs:sequence>

after googling found out that because we are exposing interface as service using spring we are facing this problem. but when i tried exposing service impl class also we are facing the same parameter names.

can any one explain what exactly the problem is?? and also how to define applicationcontext.cml & service.xml for exposing service impl as web service.

thanks a lot
rakesh.


thanks & regards, Rakesh
 
Consider Paul's rocket mass heater.
 
subject: Meaningful Parameter names in wsdl
 
Similar Threads
How to use enum types with Axis2?
Parameter names in wsdl - axis2
Axis2 parameter ordering is wrong when not all elements are not passed
Axis2 (1.5) - Unable to see POJO deployed as service
XmlException on calling WSDL2Java