Configuring JBI Components

The SOAP Binding Element

The purpose of the SOAP binding element is to indicate that the binding is bound to the SOAP protocol format: Envelope, Header and Body. This element makes no claim as to the encoding or format of the message (e.g. that it necessarily follows section 5 of the SOAP 1.1 specification).

Table 1–5 The SOAP Binding Element Attributes

Property 

Description 

Required or Optional 

Example 

transport   

Indicates to which transport of SOAP this binding corresponds. 

Optional 

http://schemas.xmlsoap.org/soap/http 

style   

Indicates the default style of this particular SOAP binding. 

Optional 

rpc 

The SOAP binding element MUST be present when using the SOAP binding. The following example illustrates the use of the SOAP binding element:


<definitions .... >
    <binding .... >
        <soap:binding transport="uri"? style="rpc|document"?>
    </binding>
</definitions>

The style attribute value is the default style attribute for each contained operation. If the style attribute is omitted, it is assumed to be "document".

The value of the required transport attribute indicates the transport to use to deliver SOAP messages. The URI value http://schemas.xmlsoap.org/soap/http corresponds to the HTTP binding in the SOAP specification. Other URIs may be used here to indicate other transports (such as SMTP, FTP, and so forth).