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:getInitialSOAPMessage
 
pub.soap.handler:getInitialSOAPMessage
WmPublic. Gets the initial SOAP request message from a given message context.
Input Parameters
messageContext
Object Message context from which to retrieve the initial SOAP request 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
initialSOAPMessage
Object Object of type javax.xml.soap.SOAPMessage that represents the initial SOAP request message.
Usage Notes
You can use the initial SOAP request message retrieved by this service in the outbound callback service. For more information about outbound callback services, see the section What Are Outbound Callback Services in the Web Services Developer’s Guide.
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.
In case of consumer web service descriptors, the pub.soap.handler:getInitialSOAPMessage service returns the initial outbound SOAP request that Integration Server builds just before sending the SOAP request to the web service provider.