• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Adding comments in WSDL file

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi all,

sorry asking a dumb question like this , i tried but couldnt figure out how to do it . I have a wsdl file through which i have generated the server stub using axis was able to deploy the webservice on tomcat and consume it .

I was just wondering if i can add some comments in my wsdl file , for example once my webservice is deployed if i type on the address bar some thing like
this http://localhost:8080/axis/ProductMgmt?wsdl it shows me the WSDL generated and on top of the wsdl it shows message like

<!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)
-->


Is there a way i can put some custom messages which gets displayed when some when access the url for example

<! -- This is Product Management webservice -->


Besides is there a way i can stop the message

<!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)
-->


from getting displayed.



Hope i make sense.



Thanks in advance
--Jyotika
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Not at all a dumb question!
Check the following links:
http://www.w3.org/TR/wsdl#_documentation
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDL_documentation_Element

The first link will tell you that the WSDL definition has an element in which you can enter documentation. The second link will tell you where you are allowed to put such an element in a WS-I Basic Profile 1.1 conformant web service.
Best wishes!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic