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
  • 1.  SOAP Header handling in WM IS

    Posted Mon December 07, 2009 03:38 PM

    I am exposing my flow service as a webservice and I have created a WSDL for the service consumers to invoke my service. I am using wM 7.1.2

    My issue is this :

    How do I make elements in the SOAP:Header available to my service ? Because, only the SOAP:Body content gets passed available to my service by default.

    Right now, I have built a Header handler flow service for my web service using which I extract the elements I need from the SOAP:Header and add it to the SOAP:Body. So, the elements will be available in the SOAP:Body and get passed to my actual flow service.

    Is this really the best way to do this ? Any better alternatives ?

    Thanks a lot !


    #API-Management
    #soa
    #webMethods


  • 2.  RE: SOAP Header handling in WM IS

    Posted Fri December 18, 2009 10:12 AM

    You can use the soaheaders document which will be available in the flow service. Also you can use queryXMLNode to get the values from the soapheaders.


    #API-Management
    #soa
    #webMethods


  • 3.  RE: SOAP Header handling in WM IS

    Posted Mon December 21, 2009 09:02 PM

    Hari,

    Pls review the "7-1-2_Web_Services_Developers_Guide",it covers the information how to add SOAP Headers to WSD provider.

    HTH,
    RMg


    #webMethods
    #API-Management
    #soa


  • 4.  RE: SOAP Header handling in WM IS

    Posted Sun January 03, 2010 06:43 AM

    Thanks for the response. I managed to add the header to the provider WSD.


    #API-Management
    #soa
    #webMethods