IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Enterprise Service Bus programming

Web service binding

A web service import binding allows you to call an external web service from your SCA component. A web service export binding allows you to expose your SCA component to clients, as web services.


What is a web service?

WebSphere ESB defines a web service as an application that has an interface and uses SOAP messages to communicate over a network. The interface is described using a Web Services Description Language (WSDL). Both WSDL and SOAP are XML-based formats.

A WSDL describes a service by defining:

A SOAP message contains two sections that are structured together in a SOAP envelope. The two sections are:

The WSDL and SOAP specifications are extensible, allowing further specifications to be built on top, to provide additional functionality.

For example, the WS-Security specification extends SOAP, to add security to web services. There are many extension specifications and they are collectively referred to as WS-* standards.

Using the web service binding, WebSphere ESB can send and receive SOAP version 1.1 and SOAP version 1.2 messages and can be configured to send and receive messages over the HTTP, HTTPS and JMS protocols.

WebSphere ESB uses WSDL version 1.1 as the primary interface specification for SCA components. When an export uses the web service binding, the interface WSDL is extended with additional network endpoint and protocol information to form a complete description of the web service that WebSphere ESB is now providing.

WebSphere ESB allows access to both the SOAP body data in the SMO body section and the SOAP header data in the SMO header section, allowing mediation flows to alter, append or remove SOAP message data as required. The web service binding always handles request/response interactions synchronously, regardless of the transport protocol used to convey the SOAP message. This means that a mediation flow that calls a web service import binding is blocked until a response is received from the web service provider.

Enterprise Service Bus programming