WSIF supports correlation between the request and response
in the asynchronous request-response case. When the request is sent, the
WSIFOperation is serialized into the WSIFCorrelationService. The
executeRequestResponseAsync methods returns a
WSIFCorrelationId object which identifies the serialized
WSIFOperation. The client listener can use this to match a response to a
particular request.
The correlation service is located with the
getCorrelationService() method of the
WSIFCorrelationServiceLocator class in the org.apache.wsif.utils
package.
In a managed container a default correlation service is defined in the
default JNDI namespace using the name:
java:comp/wsif/WSIFCorrelationService . If this is not available, then
WSIF will use the WSIFDefaultCorrelationService.
The correlation service is superfluous, there is no need for people to use
it, and this function will be removed from WSAS V5.0.1. The InfoCenter
will be updated to remove all references to this function from WSAS V5.1.
A documentation change may be made to indicate that the correlation
service is not to be used/installed.
|