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.  Read cookie from Header in http post

    Posted Wed July 12, 2006 09:00 PM

    I have to read a cookie from header in http post. the problem is when i try to see the contents in the node all i see is the body. Can any one please help me in retrieving the header and read the cookie.


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 2.  RE: Read cookie from Header in http post

    Posted Wed July 12, 2006 09:38 PM

    pub.flow:getTransportInfo

    The data you need will be in transportInfo/http/requestHdrs


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 3.  RE: Read cookie from Header in http post

    Posted Wed July 12, 2006 10:17 PM

    Thank you…it helped me a lot.

    Is there any specific hearder node that will carry the cookie.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Read cookie from Header in http post

    Posted Wed July 12, 2006 10:37 PM

    I think each cookie is uniquely named. You can insert a pub.flow:tracePipeline call after the getTransportInfo call to see what headers are present in the post.

    Mark


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 5.  RE: Read cookie from Header in http post

    Posted Tue September 26, 2006 10:34 AM

    hi some more help on cookie would be appreciated. I set a cookie say name=vivek. I called a service and placed getTransportInfo call.I can See Cookie=ssnid=21c+TZ|+XW|5uszZfeqD9kRQPDkU=5500-86.
    Please help how can i retrieve information back


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Read cookie from Header in http post

    Posted Tue September 26, 2006 02:52 PM

    Is the cookie encrypted? If not, then how are you setting the cookie=‘vivek’.

    This is how I am setting the cookie.

    Cookie=test inside headers of pub.client.http.


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB