slacker999 has asked for the wisdom of the Perl Monks concerning the following question:
use SOAP::Lite +trace => 'all', debug => 'all'; my $security_key = 'TEST'; my $soap_uri = 'TEST'; my $web_service = 'https://www.yahoo.com'; my $update_user_func = 'TEST'; my $soap = SOAP::Lite ->uri($soap_uri) ->on_action( sub { join('/', $soap_uri, $_[1]) } ) ->proxy($web_service); my $method = SOAP::Data->name($update_user_func) -> attr({xmlns => $soap_uri }); my @params = ( SOAP::Data->name(SecurityKey => $security_key) ); my $som = $soap->call($method => @params); exit;
gives me this error message / faulty output: SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: SOAP::Data=HASH(0x8368b14) SOAP::Data=HASH(0x8368b80) SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x85f6264) SOAP::Transport::HTTP::Client::send_receive: POST https://www.yahoo.com HTTP/1.1 Accept: text/xml Accept: multipart/* Content-Length: 471 Content-Type: text/xml; charset=utf-8 SOAPAction: TEST/TEST <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><TEST xmlns="TEST"><SecurityKey xsi:type="xsd:string">TEST</SecurityKey></TEST></SOAP-ENV:Body></SOAP-ENV:Envelope> Segmentation fault
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite Segmentation Fault on https servers
by Anonymous Monk on Sep 23, 2009 at 00:58 UTC | |
|
Re: SOAP::Lite Segmentation Fault on https servers
by ikegami (Patriarch) on Sep 23, 2009 at 01:11 UTC | |
|
Re: SOAP::Lite Segmentation Fault on https servers
by Bloodnok (Vicar) on Sep 23, 2009 at 00:43 UTC |