passing cookie from WS response header as param to next WS call
Hi Guys, does anyone knows how to pick up a cookie from the header of a webservice response? Basically, the customer needs to consume a WS, but the first call must be to receive the cookie that will authenticate them when they make the second and real call for an operation (passing it as a param). This is the example: Within is the ‘Cookie’ element, which is like this: Cookie: _ga=GA1.3.502459563.1477930543; __utma=114985812.502459563.1477930543.1483453229.1484647564.14; __utmz=114985812.1484647564.14.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); ASP.NET_SessionId=tszgod50rvfqkzzqv2hdo25l They need to retrieve the ASP.NET_SessionId and send that back in the next HTTP header of the next SOAP request.
Is the "Cookie" element being passed back as a mapped element within the service call? Or are you trying to grab it from the browser?