winfinit has asked for the wisdom of the Perl Monks concerning the following question:
then i am performing my first authentication call, and if it is sucesfull then i am getting cookie in returnmy $soap = new SOAP::Lite; $soap->uri($nameSpace); $soap->proxy($proxy, cookie_jar => HTTP::Cookies->new(ignore_discar +d =>1));
and that goes finemy $SessionLoginTechnicianMethod = SOAP::Data->name('SessionLoginTechn +ician') ->attr({xmlns => $nameSpa +ce}); my @SessionLoginTechnicianValues = ( SOAP::Data->name('TechName' => $us +erid), SOAP::Data->name('Password' => $pa +ssword) ); my $commID = $soap->call($SessionLoginTechnicianMethod => @SessionLogi +nTechnicianValues); my $communityID = $commID->valueof('//CommunityID');
then nect call right after that not setting cookieClient-SSL-Cipher: RC4-MD5 Client-SSL-Warning: Peer certificate not verified Set-Cookie: SESSIONID=lMcsJpx35LSuECd34f/90u2vsRGK8BLBx96rHu/cyIgY/xbf ++YMD0BhDDP04vfKbHfhL; path=/;version=1 X-Powered-By: ASP.NET
and call right after thatAccept: text/xml Accept: multipart/* Accept: application/soap User-Agent: SOAP::Lite/Perl/0.69 Content-Length: 689 Content-Type: text/xml; charset=utf-8
why this is happening? and also why cookie is not the same one?Accept: text/xml Accept: multipart/* Accept: application/soap User-Agent: SOAP::Lite/Perl/0.69 Content-Length: 654 Content-Type: text/xml; charset=utf-8 Cookie: $Version=1; SESSIONID="2Ho+EHPPfAlGDPFA6xobS55byc8/38TeYhFl6UW +Nw70iJBWsWADBASxpQRmlRGNsYQIG"; $Path="/"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cookie based SOAP
by olus (Curate) on Jan 04, 2008 at 11:41 UTC | |
by Anonymous Monk on Jan 04, 2008 at 12:28 UTC | |
by Anonymous Monk on Jan 04, 2008 at 12:26 UTC | |
|
Re: cookie based SOAP
by Anonymous Monk on Jan 04, 2008 at 10:32 UTC |