aspose file tools*
The moose likes Web Services and the fly likes binding tag in wsdl files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "binding tag in wsdl files" Watch "binding tag in wsdl files" New topic
Author

binding tag in wsdl files

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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 .


Save India From Corruption - Anna Hazare.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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

Joined: Apr 18, 2009
Posts: 2234

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: binding tag in wsdl files
 
Similar Threads
element of WSDL file
AJAX in SOA
Looking up a webservice
WSDL knowledge.
How to approach "consuming web service in javascript"