in reply to Re: SOAP::Deserializer problem
in thread SOAP::Deserializer problem
and then in a debugging session:my $soap = SOAP::Lite->uri($uri)->proxy( $proxyUrl, timeout => 5 ); my $method = SOAP::Data->name("command")->attr( { 'template' => 'sample', 'method' => 'execute', 'loginname' => 'me', } ); my $som = $soap->call($method); if ( $som->fault ) { die $som->fault->faultstring } print $som->valueof('/Envelop/Body/command');
I cannot see how to access the subnodes ... Thanks for any help! Axel.DB<1> x $som->valueof('/Envelope/Body/command') 0 HASH(0x1bb793c) 'message' => HASH(0x1bb793c) -> REUSED_ADDRESS DB<2> x $som->valueof('/Envelope/Body/command/message') 0 HASH(0x1bb793c) 'message' => HASH(0x1bb793c) -> REUSED_ADDRESS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SOAP::Deserializer problem
by rahed (Scribe) on Jul 29, 2007 at 18:16 UTC | |
by axelrose (Scribe) on Jul 29, 2007 at 18:47 UTC | |
by rahed (Scribe) on Jul 31, 2007 at 10:04 UTC | |
by axelrose (Scribe) on Jul 31, 2007 at 12:01 UTC |