Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Meaningful Parameter names in wsdl

 
rakesh kumar nampally
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic