Integration Server 10.7 | Web Services Developer’s Guide | About Handlers and Handler Services | About Response Handler Services
 
About Response Handler Services
 
Response Handler Services and Status Codes
A response handler service is used with a SOAP response. The processing point at which Integration Server invokes a response handler service depends on whether the web service descriptor is a consumer or a provider and the message exchange pattern (MEP) for the web service connector or operation.
Web Service Descriptor
Pre-8.2 Compatibility Mode
MEP
Behavior
Consumer
False
In-Out
For a web service connector in a consumer web service descriptor, Integration Server invokes the response handler service for each handler in the handler chain after it receives the initial SOAP response from the web service provider.
Integration Server also invokes a response handler service for a consumer web service descriptor if a request handler service failed and returned a status code of 1. In this situation, Integration Server does not invoke the response handler service for every handler in the handler chain. Instead, Integration Server invokes the response handler service for each handler that has already executed in the handler chain. Integration Server starts with the current handler and continues in reverse order until it invokes all the response handlers for the executed request handlers in the handler chain.
Consumer
False
In-Only
Integration Server does not execute the response handler services assigned to the web service descriptor.
Consumer
False
Robust In-Only
Integration Server executes response handlers if an exception occurs while executing the operation or if a request handler service failed and returned a status code of 1.
Note:
For a consumer, Integration Server provides partial support for Robust In-Only for SOAP over JMS. For more information, see Consumer Support for Robust In-Only Operations with SOAP/JMS Bindings.
Consumer
True
All
For a web service connector in a consumer web service descriptor, Integration Server invokes the response handler service for each handler in the handler chain after it receives the initial SOAP response from the web service provider.
Integration Server also invokes a response handler service for a consumer web service descriptor if a request handler service failed and returned a status code of 1. In this situation, Integration Server does not invoke the response handler service for every handler in the handler chain. Instead, Integration Server invokes the response handler service for each handler that has already executed in the handler chain. Integration Server starts with the current handler and continues in reverse order until it invokes all the response handlers for the executed request handlers in the handler chain.
Note:
When Pre-8.2 compatibility mode is true, Integration Server treats all web service connectors as if they have an In-Out MEP.
Provider
False
In-Out
Integration Server invokes the response handler service after the IS service exposed as an operation executes successfully and creates a SOAP response. Integration Server invokes each response handler service in the handler chain for the provider web service descriptor and then sends the updated SOAP response to the web service client.
Integration Server also invokes a response handler service for a provider web service descriptor if a request handler service failed and returned a status code of 1. In this situation, Integration Server does not invoke the response handler service for every handler in the handler chain. Instead, Integration Server invokes the response handler service for each handler that has already executed in the handler chain. Integration Server starts with the current handler and continues in reverse order until it invokes all the response handlers for the executed request handlers in the handler chain.
Provider
False
In-Only
Integration Server does not execute the response handler services assigned to the web service descriptor.
Provider
False
Robust In-Only
Integration Server executes response handlers if an exception occurs while executing the operation or if a request handler service failed and returned a status code of 1.
Provider
True
All
Integration Server invokes the response handler service after the IS service exposed as an operation executes successfully and creates a SOAP response. Integration Server invokes each response handler service in the handler chain for the provider web service descriptor and then sends the updated SOAP response to the web service client.
Integration Server also invokes a response handler service for a provider web service descriptor if a request handler service failed and returned a status code of 1. In this situation, Integration Server does not invoke the response handler service for every handler in the handler chain. Instead, Integration Server invokes the response handler service for each handler that has already executed in the handler chain. Integration Server starts with the current handler and continues in reverse order until it invokes all the response handlers for the executed request handlers in the handler chain.
Note:
When Pre-8.2 compatibility mode is true, Integration Server treats all operations as if they have an In-Out MEP.
A response handler service is sometimes referred to as a handleResponse service.