File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Meaningful Parameter names in wsdl" Watch "Meaningful Parameter names in wsdl" New topic

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: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"/>

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
I agree. Here's the link:
subject: Meaningful Parameter names in wsdl
It's not a secret anymore!