Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: convert SOAP message to perl data structure

by mda2 (Hermit)
on Jul 11, 2006 at 22:39 UTC ( #560567=note: print w/replies, xml ) Need Help??


in reply to convert SOAP message to perl data structure

Hi,

The SOAP::Lite module has a call valueof for complex structures. See Other reference.

Supose this code:

use strict; use Data::Dumper; my $Call = 'f2c'. my $Result = $soap->call( $Call, 32 ); if ( $Result->fault ) { printf "Failure on call: %s\n\t Code: %s\nString: %s\n\n", $Call, $Result->faultcode, $Result->faultstring; } print Dumper( $Result->valueof('//' . $Call . 'Response') );

--
Marco Antonio
Rio-PM

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://560567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2019-12-08 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?