Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | SOAP Folder | Summary of Elements in this Folder | pub.soap.handler:getSOAPMessage
 
pub.soap.handler:getSOAPMessage
WmPublic. Gets the SOAP message from a given message context.
Input Parameters
messageContext
Object Message context from which to get 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.
Output Parameters
SOAPMessage
Object Object of type javax.xml.soap.SOAPMessage that represents the SOAP message.
Usage Notes
You can use the SOAP message retrieved by this service with any existing public service that takes an object of type javax.xml.soap.SOAPMessage as input. For example, you can use the SOAP message as input for the pub.soap.utils:addBodyEntry or pub.soap.utils:addHeaderEntry services.
See Also
pub.soap.handler:setSOAPMessage