Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Web Services transactions, firewalls and intermediary nodes

 

You can configure your system to enable propagation of Web Services Atomic Transactions (WS-AT) message contexts and Web Service Business Activities (WS-BA) message contexts across firewalls or outside the WebSphere Application Server domain. With these configurations, you can distribute Web service applications that use WS-AT or WS-BA across disparate systems. The topology that you use can affect the high availability and affinity behavior of the transactions.

When Web services transactions are distributed between applications in different servers or clusters or to systems that are not WebSphere Application Server systems, consider the transaction-routing affinity of Web service requests, as well as the high availability of the transaction service on each WebSphere Application Server. If a remote client sends a series of transactional requests to a target service that is deployed in a cluster, usually you want the first request to establish a transactional affinity from the client application to the target server, such that subsequent requests in the same transaction are delivered to the same target server. When the transaction completes, the transaction protocol messages are also sent to this same target server, unless and until transaction high availability failover occurs. The topologies that are available to you are as follows:

Direct connection

Use this topology for non-clustered configurations. No intermediary node exists in this topology. The client communicates directly with the specific WebSphere Application Server on which the target service resides. This topology supports transaction affinity and high availability, but only when the client runs on a WebSphere Application Server V6.0.2 or later in the same administrative cell as the target service.

Proxy Server for IBM WebSphere Application Server

Use this topology when the client is not part of the same administrative cell as the target service, and you do not require transaction affinity or transaction high availability. In this topology, the client communicates with a Proxy Server for IBM WebSphere Application Server, which dynamically routes the client requests and Web services transaction protocol messages to the appropriate server in a WebSphere Application Server cluster. The proxy server is configured in the same administrative cell as the target service.

The proxy server provides the routing support for transaction high availability and affinity at the edge of the administrative cell. As for any HTTP proxy configuration, provide HTTP endpoint URL information, that is, configure the HTTP server URL prefix for the target Web service module. Also, configure the proxy server for Web services transactions, that is, configure it to deliver Web services transaction protocol messages to the appropriate WebSphere Application Server.

The Web service client sends messages, through a firewall, to the Proxy Server for WebSphere in the demilitarized zone. The <a href=proxy server then passes the message to a server in the WebSphere Application Server cluster." />

HTTP server, such as IBM HTTP Server

Use this topology when transaction high availability and affinity routing is not required by the client, for example because the target service is deployed to a non-clustered server.

In this topology, the client communicates with an HTTP server, which always routes the client requests and Web services transaction protocol messages to a specific WebSphere Application Server. As for any HTTP proxy configuration, provide HTTP endpoint URL information, that is, configure the HTTP server URL prefix for the target Web service module. Also, configure the HTTP server for Web services transactions, that is, configure it to deliver Web services transaction protocol messages to the appropriate WebSphere Application Server. The HTTP server cannot provide either affinity or high availability for transactions. However, transactional integrity is assured, because recovery processing occurs after the failed server restarts.

Note: You can still enable high availability on the WebSphere Application Server. Clients that access this server through an HTTP server cannot benefit from the high availability of transactions, but other clients that access the same server can.

The Web service client communicates, through a firewall, with the HTTP server in the demilitarized zone. The configuration of the HTTP server determines where the message is sent in WebSphere Application Server.

If you have an existing HTTP server, but want the high availability and workload management capabilities of a Proxy Server for WebSphere, create a Proxy Server for IBM WebSphere Application Server and configure the HTTP server to route all requests to the proxy server, as in the following scenario.

HTTP server in conjunction with a Proxy Server for IBM WebSphere Application Server

Use this topology when the client is not part of the same administrative cell as the target service and you require transaction affinity or transaction high availability. The topology is similar to the Proxy Server for IBM WebSphere Application Server topology, but supports the use of any HTTP server as the external reverse proxy.

In this topology, the client communicates with an HTTP server, which you configure, by routing requests from a plug-in to a proxy server, to forward the client's requests and Web services transaction protocol messages to a Proxy Server for IBM WebSphere Application Server. The proxy then dynamically routes the requests to the appropriate server in WebSphere Application Server. The proxy server is configured in the same administrative cell as the target service.

The proxy server provides the routing support for transaction high availability and affinity at the edge of the administrative cell. As for any HTTP proxy configuration, provide HTTP endpoint URL information, that is, configure the HTTP server URL prefix for the target Web service module. Also, configure the HTTP server and proxy server for Web services transactions, that is, configure them to deliver Web services transaction protocol messages to the appropriate WebSphere Application Server.

The Web service client communicates, through a firewall, with the HTTP server in the demilitarized zone. The HTTP server forwards all requests to the Proxy Server for IBM WebSphere Application Server, which dynamically routes requests to the correct server in WebSphere Application Server.




 

Related concepts


Transactional high availability
Support for Web Services protocols

 

Related tasks


Configuring an intermediary node for Web services transactions
Enabling WebSphere Application Server to use an intermediary node for Web services transactions
Installing Web server plug-ins on i5/OS
Creating a proxy server
Routing requests from a plug-in to a proxy server

 

Related Reference


Provide HTTP endpoint URL information