I've been trying SOAP::Som but to no avail so far to access the cookie element to get the data, play with it and send it back.<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env +elope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns1:findingit xmlns:ns1="urn:emailfind"> <cookie>Cookie_data</cookie> </ns1:findingit></SOAP-ENV:Body> </SOAP-ENV:Envelope>
I either get an undefined value error or a null return which causes the client to fail, so assume that it is not reading the stream at all? Is there a better way of parsing the data coming across so that the server can do its job from the request coming towards it? Thanks in advance for any guidance to sorting this out.#!c:\perl\bin\perl.exe use strict; use warnings; use SOAP::Lite; use SOAP::Transport::HTTP; use HTTP::Cookies; SOAP::Transport::HTTP::CGI ->dispatch_to('emailfind') ->handle; package emailfind; sub findingit { my $som ->match('/Envelope/Header/Body/findingit'); $som ->valueof('/cookie'); my ($e) = split(/-/, $som); $e = pack ("H*", $som); return $e; }
In reply to Accessing a node in a SOAP message from a Java client by Quicksilver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |