Show TOC

Procedure documentationCreating a SOAP Message Processor Locate this document in the navigation structure

 

For a content provider that provides content via SOAP, you can create a message processor that can modify each request message just before it is sent and modify each response message just after it is received. The processor can also modify the response message if an error occurs during the SOAP call.

Message processors are assigned to entities, generally, either in an entity's doInit() method or by the content provider service when it creates the entity in getProviderEntity().

Procedure

  1. Create a class that implements ISOAPMessageProcessor.

  2. Implement processRequestMessage(), which is called just before the SOAP request message is sent.

  3. Implement processResponseMessage(), which is called just after the SOAP response message is received.

  4. Implement processFaultMessage(), which is called if an error occurs during the SOAP call.