webMethods and Intelligent Business Operations 10.2 | Integrating Cloud Applications | Integration Server Built-In Services | SOAP 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 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.

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release