This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

A query regarding attributes of @Webservice

 
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 .

 
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
 
    Bookmark Topic Watch Topic
  • New Topic