IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

WebService Request Handler: modifying SOAP Request

  • 1.  WebService Request Handler: modifying SOAP Request

    Posted Sat July 04, 2015 06:32 PM

    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!


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: WebService Request Handler: modifying SOAP Request

    Posted Mon July 06, 2015 03:12 AM

    Hi Hannes,

    From the documentation, you can use

    pub.soap.handler:removeBodyBlock
    pub.soap.handler:addBodyBlock

    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.


    #Integration-Server-and-ESB
    #webMethods