Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A query regarding attributes of @Webservice  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

As you all know a Webservice Annotation consists of two main Attributes taht is name , serviceName .


As per the web , the meaning of this attributes is
name : The name of the wsdl:portType
serviceName : The Service name of the web service: wsdl:service


But unfortunately i couldn't able to differentiate them , can anybody please explain in detail the use of these Attributes (name and serviceName)

Please share your knowledge , thanks in advance .

 
Jim Akmer
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using jax-ws annotations you can form the wsdl how you want. By using the attribute name, you specify the name used in the portType declaration, in the WSDL generated by the annonations, and with the service name, you specify the name used in the wsdl:service declaration which is the location in the WSDL where the bindings are specified. Hope this helps
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!