• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding comments in WSDL file

 
Jyotika Kapoor
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • 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
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic