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
Bartender
Joined: Oct 04, 2006
Posts: 2193
posted
0
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.
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 .