Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

binding tag in wsdl files

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have written a simple WebService based on JAX -WS , with the help of Sun one Application server i generated a wsdl file for that .

By seeing the wsdl files i could not able to understand binding tag of my wsdl .
Could anyone please let me know what is the signifucance of this tag ??


Thanks for reading .
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The <binding> element in a WSDL is where you define which transport mechanism and protocol is to be used when accessing a specified service interface.
For instance, say you have a service interface that exposes on single operation, sayHello. This is the interface telling you which operations the web service makes available to the clients, but it does not say anything regarding how to talk to this interface.
That is where the <binding> element enters the picture:
Usually it will tell you that the clients are to use the HTTP transport mechanism and the SOAP protocol to access the service.

Reference: http://www.w3.org/TR/wsdl#_bindings
Best wishes!
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <binding> element in a WSDL is where you define which transport mechanism and protocol is to be used when accessing a specified service interface.


Thank you for the response , typically for whom this information will be useful.
(The reason to ask this question is basically to write a client we require only that wsdl url and nothing else ) so who and why to care about all these things .

Expecting a reply .Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic