Integration Server 10.5 | Built-In Services Reference Guide | SOAP Folder | Summary of Elements in this Folder | pub.soap.handler:setSOAPMessage
 
pub.soap.handler:setSOAPMessage
WmPublic. Sets the SOAP message in a message context.
Input Parameters
messageContext
Object Message context in which to set the SOAP message.
A message context contains properties for the SOAP message and provides access to the SOAP message. Integration Server creates the message context and passes it to the header handler. All handlers invoked by a given instance of a SOAP request or SOAP response use the same message context, which enables you to use the message context to pass information among handlers.
SOAPMessage
Object of type javax.xml.soap.SOAPMessage to use to overwrite the existing SOAP message in the message context.
Output Parameters
None.
Usage Notes
Use this service with caution, as it overwrites the entire SOAP message, including the SOAP header, body, and fault.
See Also
pub.soap.handler:getSOAPMessage