WSDL bindings defines the message format and protocol details for a web service.
A D V E R T I S E M E N T
The binding element has two attributes.
1.The name attribute
Name attribute defines the name of the binding.You can use any name you want.
2.The type attribute
Type attribute points to the port for the binding.
The soap:binding element has two attributes.
1.The style attribute
This attribute can be "rpc" or "document".
In this case we use document.
2.The transport attribute
This defines the SOAP protocol to use.
In this case we use HTTP.
The operation element.
It defines each operation that the port exposes.
For each operation the corresponding SOAP action has to be defined.
How the input and output are encoded must be specified.
|