Using the Web Services Addressing (WS-Addressing) support in WebSphere
Application Server, you can create endpoint references that can be distributed
across firewalls and intermediary nodes.
To create endpoint references using WS-Addressing support, you use the
com.ibm.websphere.wsaddressing.EndpointReferenceManager class of the WS-Addressing
API to automatically generate endpoint references that represent endpoints
on the node on which the references are generated. These endpoint references
contain the appropriate address information, based on the URL configured for
the endpoint and any valid proxy configuration for the server on which the
endpoint resides. Messages targeted at the endpoint reference from the client
are routed to the endpoint through the appropriate intermediary node or nodes,
as described in the following topology scenarios.
Direct connection
In this topology, there
is no intermediary node. The client communicates directly with the WebSphere
Application Server server on which the target endpoint resides. In this topology,
the WS-Addressing API automatically generates the appropriate endpoint reference
address, based on the URL configured for the Web service module. This scenario
is illustrated in the following diagram.
HTTP server, such as IBM HTTP Server
In this topology, the WS-Addressing
API automatically generates the appropriate endpoint reference address based
on the URL prefix of the HTTP server that is configured for the target Web
service module.
You must provide HTTP
endpoint URL information, that is, configure the HTTP URL prefix for each
deployment of each application. The client communicates
with the HTTP server, which then routes the client requests to a specific
server based on the HTTP server configuration.