webMethods

webMethods

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

Reading the "Set-Cookie" header field

  • 1.  Reading the "Set-Cookie" header field

    Posted Fri February 13, 2009 10:15 PM

    Hi,

    I am currently trying to log in to a web service that returns a session ID in the “Set-Cookie” header line of the http response. They are expecting me to read a “JSESSIONID” value out of the Set-Cookie field and use that session ID to call other web services they offer.

    I am using IS 6.5 and when I make a pub:client:http call, I can see the header/lines document that is sent back as a response. I can also see the Set-Cookie field in the header/lines document and the value returned is “ORA_OD_OSI=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Path=/; Secure”.

    webMethods is not showing any JSESSIONID, like the web service says that it is returning.

    With a stand alone java program I can see the JSESSIONID in the “Set-Cookie” field. So I know that the web service is behaving as expected. It looks like webMethods is not receiving the entire value that the web service sends in the Set-Cookie field.

    Has anyone had experience with this issue?

    Thank you in advance for your help,
    Sara


    #soa
    #webMethods
    #API-Management