The purpose of the HTTP binding element is to signify that the binding is bound to the HTTP protocol.
Table 1–2 The HTTP Binding Element Attributes
Property |
Description |
Required or Optional |
Example |
verb |
Indicates to which transport of HTTP this binding corresponds. |
Required |
GET |
The HTTP binding element MUST be present when using the HTTP binding. The following example illustrates the HTTP binding element:
<definitions .... > <binding .... > <http:binding verb="nmtoken" /> </binding> </definitions> |
The value of the required verb attribute indicates the HTTP verb. Common values are GET or POST, but others may be used. Note that HTTP verbs are case sensitive.