in reply to Re: Navigate and getting proper output from SOAP WSDL response in Perl.
in thread Navigate and getting proper output from SOAP WSDL response in Perl.
I Changed the print line to include Dumper(as next line), &now and I see output: print Dumper "name=$k"; print Dumper "Value=$keyHash{$k}\n"; And now my question still remains that I have to extract values. So do I have to handle each Type separately, as in a nonserialized object, a float array, a hash etc., ? So a case statement to check the type and then parse(navigate) each VAR1?
Output >>>>>>>>>>>>>>Output <<<<<<<<<<<<<<+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++ $VAR1 = 'name=_on_nonserialized'; $VAR1 = 'Value=CODE(0x82152fc) '; $VAR1 = 'name=_serializer'; $VAR1 = 'Value=SOAP::Serializer=HASH(0x844e500) '; @@@@@@@@@@@@@@@$VAR1 = 'name=_typelookup'; $VAR1 = 'Value=HASH(0x844e338) '; @@@@@@@@@@@@@@@$VAR1 = 'name=float'; $VAR1 = 'Value=ARRAY(0x885970c) '; $VAR1 = 'name=base64'; $VAR1 = 'Value=ARRAY(0x881ecac) '; $VAR1 = 'name=int'; $VAR1 = 'Value=ARRAY(0x844de34) '; $VAR1 = 'name=string'; $VAR1 = 'Value=ARRAY(0x844dbac) '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_on_nonserialized'; $VAR1 = 'Value=CODE(0x82152fc) '; $VAR1 = 'name=_level'; $VAR1 = 'Value=0 '; $VAR1 = 'name=_objectstack'; $VAR1 = 'Value=HASH(0x844dca8) '; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ $VAR1 = 'name=_xmlschema'; $VAR1 = 'Value=http://www.w3.org/1999/XMLSchema '; $VAR1 = 'name=_signature'; $VAR1 = 'Value=ARRAY(0x8846c40) '; $VAR1 = 'name=_readable'; $VAR1 = 'Value=0 '; $VAR1 = 'name=_maptype'; $VAR1 = 'Value=HASH(0x844e368) '; @@@@@@@@@@@@@@@$VAR1 = 'name=SOAPStruct'; $VAR1 = 'Value=http://xml.apache.org/xml-soap '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_soapversion'; $VAR1 = 'Value=1.1 '; $VAR1 = 'name=_namespaces'; $VAR1 = 'Value=HASH(0x844e518) '; @@@@@@@@@@@@@@@$VAR1 = 'name=http://schemas.xmlsoap.org/soap/encoding/ +'; $VAR1 = 'Value=SOAP-ENC '; $VAR1 = 'name=http://www.w3.org/1999/XMLSchema'; $VAR1 = 'Value=xsd '; $VAR1 = 'name=http://schemas.xmlsoap.org/soap/envelope/'; $VAR1 = 'Value=SOAP-ENV '; $VAR1 = 'name=http://www.w3.org/1999/XMLSchema-instance'; $VAR1 = 'Value=xsi '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_seen'; $VAR1 = 'Value=HASH(0x881df54) '; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ $VAR1 = 'name=_encoding'; $VAR1 = 'Value=UTF-8 '; $VAR1 = 'name=_attr'; $VAR1 = 'Value=HASH(0x844e4c4) '; @@@@@@@@@@@@@@@$VAR1 = 'name={http://schemas.xmlsoap.org/soap/envelope +/}encodingStyle'; $VAR1 = 'Value=http://schemas.xmlsoap.org/soap/encoding/ '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_multirefinplace'; $VAR1 = 'Value=0 '; $VAR1 = 'name=_autotype'; $VAR1 = 'Value=1 '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_on_action'; $VAR1 = 'Value=CODE(0x82eb1fc) '; $VAR1 = 'name=_deserializer'; $VAR1 = 'Value=SOAP::Deserializer=HASH(0x844e5cc) '; @@@@@@@@@@@@@@@$VAR1 = 'name=_ids'; $VAR1 = 'Value=HASH(0x881ea90) '; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ $VAR1 = 'name=_xmlschemas'; $VAR1 = 'Value=HASH(0x8a50538) '; @@@@@@@@@@@@@@@$VAR1 = 'name=http://xml.apache.org/xml-soap'; $VAR1 = 'Value=SOAP::XMLSchemaApacheSOAP::Deserializer '; $VAR1 = 'name=http://www.w3.org/2001/06/soap-encoding'; $VAR1 = 'Value=SOAP::XMLSchemaSOAP1_2::Deserializer '; $VAR1 = 'name=http://www.w3.org/2001/XMLSchema'; $VAR1 = 'Value=SOAP::XMLSchema2001::Deserializer '; $VAR1 = 'name=http://schemas.xmlsoap.org/soap/encoding/'; $VAR1 = 'Value=SOAP::XMLSchemaSOAP1_1::Deserializer '; $VAR1 = 'name=http://www.w3.org/1999/XMLSchema'; $VAR1 = 'Value=SOAP::XMLSchema1999::Deserializer '; @@@@@@@@@@@@@@@ $VAR1 = 'name=_hrefs'; $VAR1 = 'Value=HASH(0x8858dc0) '; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ $VAR1 = 'name=_parser'; $VAR1 = 'Value=SOAP::Parser=HASH(0x8858d3c) '; @@@@@@@@@@@@@@@$VAR1 = 'name=_parser'; $VAR1 = 'Value= '; @@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@ $VAR1 = 'name=_autoresult'; $VAR1 = 'Value=0 '; $VAR1 = 'name=_transport'; $VAR1 = 'Value=SOAP::Transport=HASH(0x8394160) '; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ $VAR1 = 'name=_on_fault'; $VAR1 = 'Value=CODE(0x82edde8) '; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Navigate and getting proper output from SOAP WSDL response in Perl.
by Loops (Curate) on Apr 08, 2013 at 18:31 UTC | |
by Narend (Initiate) on Apr 08, 2013 at 18:35 UTC | |
by Anonymous Monk on Apr 08, 2013 at 18:53 UTC |