Integration Server 10.3 | Built-In Services Reference Guide | SOAP Folder | Summary of Elements in this Folder | pub.soap.handler:removeBodyBlock
 
pub.soap.handler:removeBodyBlock
WmPublic. Removes a body block from a SOAP message, leaving an empty SOAP body, <SOAP-ENV:Body></SOAP-ENV:Body>.
Input Parameters
messageContext
Object Message context that contains the SOAP message from which to remove the body block.
A message context contains properties for the SOAP message as well as providing access to the SOAP message. Integration Server creates the message context and passes it to the handler. All handlers invoked by a given instance of a SOAP request or SOAP response use the same message context. This enables you to use the message context to pass information between handlers.
Output Parameters
None.
Usage Notes
If the service encounters any error when removing the body block, it throws an exception.
If you execute the service against a SOAP message that already contains an empty SOAP body, the service performs no action.
See Also
pub.soap.handler:addBodyBlock
pub.soap.handler:getBodyBlock