This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Meaningful Parameter names in wsdl