Web Services provider configuration overview
The purpose of a Web Services provider mode configuration is to expose a service to one or more partner consumers. In this mode, the Web Service provider acts as a server, responding to requests from partner clients.
Illustrations and descriptions
The following figures illustrates schematically how Activator processes requests from remote Web Service consumers.
Example 1: Two way service, synchronous response
In the context of a Web Service exposed by Activator, and configured for synchronous response:
- A partner connects to Activator over HTTP in client mode, and sends a service request.
- Activator maintains the HTTP connection open while processing the request in a service (through a series of components).
- Activator generates a service response (or a fault).
- Activator applies outbound collaboration settings to control how the response is sent to the Web Service consumer partner.
- Activator sends the response back through the pending HTTP connection.
- The partner closes the HTTP connection.
Example 2: One way service
- A partner connects to Activator over HTTP in client mode, and sends a service request.
- Activator acknowledges (at protocol level) the receipt of the message.
- The partner closes the HTTP connection.
- Activator processes the request in a service (through series of components).
- Activator applies outbound collaboration settings to control how the response is sent to the destination application or partner.
- Activator delivers the message(s) to the final destination
Configuration overview
To configure a Web Services provider, you complete two principal tasks:
- Define the content of the Web Service - This involves specifying the format of both the request for the service, and the response to the request. The message content of Web Services exchanges is exchanged in XML formatted files. The format of these files is defined by XML schemas.
- Define a communications framework – This involves specifying the transport protocol and access parameters that enable consumers to inject messages into your system, and for you to respond to those messages. Communications with your Web Service Partners is done over HTTP.
Related topics