WebService Request Handler: modifying SOAP Request

I try to modify a SOAP request of a webservice provider using a request handler.

I understood how to register the handler and that I can retrieve the body document using pub.soap.handler:getBodyBlock on the message context.

What I do not get is, how I possible can replace the original body with my modified one?

Thanks for your kind help in advance!

Hi Hannes,

From the documentation, you can use


to modify SOAP body.

For more information, you can check http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-6/Integration_Server/9-6_Integration_Server_Built-In_Services_Reference.pdf, page 734 of the documentation. Note that this is for wM 9.6.