Using the HTTP Binding Component

Using the HTTP Binding Component with the HTTP POST Method

The HTTP BC implements the HTTP 1.1 POST binding defined in the WSDL 1.1 specification, enabling applications to consume or provide services from the JBI environment using a web browser-like HTTP GET interaction.

Configuring the HTTP Binding Component for HTTP Get Interactions

To configure the HTTP Binding Ccomponent to function for HTTP POST interactions, the WSDL file of the service to which the binding component is acting as proxy, needs to use the following HTTP binding language elements defined in the WSDL 1.1 Specification:

Examples that demonstrate how to configure the HTTP Binding Component as a provider proxy or consumer proxey are available at Using the HTTP Binding Component with the HTTP GET method and Using the HTTP Binding Component with the HTTP POST method.


Note –

Currently the HTTP Binding Component only supports the use of <http:urlReplacement> and <http:urlEncoded> with HTTP GET.


Binding Details

For information on the Binding details for these elements, see Binding Details.

HTTP POST Treatment of http:urlEncoded and http:urlReplacement

The HTTP Binding Component does not use the WSDL HTTP Binding consistently across GET and POST-style interactions, due to request structure differences between GET and POST requests.

The differences are:

Because of these differences, the current HTTP Binding Component implementation considers http:urlEncoded and http:urlReplacement to be meaningful only when used in conjunction with HTTP GET, because these binding elements refer to URL encoding styles that apply only to GET requests.

For HTTP POST, the current implementation ignores both http:urlEncoded and http:urlReplacement binding elements.