Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80876

passing cookie from WS response header as param to next WS call

$
0
0

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.


Viewing all articles
Browse latest Browse all 80876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>