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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Passing custom token in http headers (webservice consumer)

    Posted 04/09/09 07:41 AM

    Hi,

    Has anyone tried passing cutom tokens in http headers while using weservice consumer.
    There is nothing to add custom token to http headers using soapHTTP, soapClient, soapRPC.

    We have to send a token (say xyz=123) in http headers.

    Regards,
    Sumit


    #soa
    #API-Management
    #webMethods


  • 2.  RE: Passing custom token in http headers (webservice consumer)

    Posted 04/09/09 08:48 PM

    Sumit,

    Try some thing like this,

    -soapDataToString (assuming you have soapData in pipeline)
    -http (post, specify soapAction if there is any in headers, content type along with your custom headers)
    -Branch\header\status
    200- soapStatus-0
    500-soapStatus-1
    default-soapStatus-2
    -streamToSoapData

    Thanks,
    Yarkar.


    #webMethods
    #soa
    #API-Management


  • 3.  RE: Passing custom token in http headers (webservice consumer)

    Posted 04/10/09 08:26 AM

    By using pub.soap.utils:addHeaderEntry, header information can be added to soapdata… It can hold custom header information also…


    #webMethods
    #soa
    #API-Management


  • 4.  RE: Passing custom token in http headers (webservice consumer)

    Posted 04/14/09 05:40 AM

    Yarkar,
    What you have suggested is trying out with normal http post with soapData as http body.
    I will try this but this would mean customising the webservice consumer.

    Senthil,
    addHeaderEntry will add token in SoapHeader, we want to add token in Http header

    Thanks guys.

    Regards,
    Sumit


    #soa
    #webMethods
    #API-Management