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

Dynamic service gateway pattern

With the dynamic service gateway, you can enter new services into a gateway without any modification to the deployed module.

Schema information for services that are handled by the gateway are optional, if access to the body of the message is not required. This provides the flexibility to build a customizable service gateway, adding and removing services as required based on an external registry or database for endpoint resolution. Figure 1.shows the common pattern used for a dynamic service gateway. The dynamic service gateway can be used with either web services, JMS, HTTP or MQ bindings.

Figure 1. Common pattern that is used for a dynamic service gateway

To create a web service client, you retrieve the WSDL file for the service provider, and pass it into the web service tool to generate a client stub. For a dynamic service gateway the creation of this WSDL file is a manual process, where you must download the target service provider WSDL, replace any policy information with that attached to the service gateway export and then override the endpoint to that of the service gateway.

Service gateway