The HTTP binding element specifies that the binding is bound to the HTTP protocol.
Table 16 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.