Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Creating a perl object from a xml response

by perrin (Chancellor)
on Jan 09, 2008 at 13:34 UTC ( [id://661346]=note: print w/replies, xml ) Need Help??


in reply to Creating a perl object from a xml response

XML::Simple
  • Comment on Re: Creating a perl object from a xml response

Replies are listed 'Best First'.
Re^2: Creating a perl object from a xml response
by cristianekw (Novice) on Jan 09, 2008 at 14:48 UTC
    XML::Simple didn't get the multiRef information... :(

    In complex xml response, we could have:
    <ns1:list> <listReturn ... soapenc:arrayType="ns1:obj[2]"> <item href="#id0" /> <item href="#id1" /> </listReturn> </ns1:list> <multiRef id="id1" ...> <myId xsi:type="soapenc:long" xsi:nil="1" /> </multiRef>
      Well, I have no idea what that's supposed to do, but I'd suggest you either change your SOAP service to give a simpler response or pre-process the XML before handing it to XML::Simple. (Or post-process the resulting perl data.)
        What do you mean with pre-processing? Unfortunately, I canīt change the format that I receive from the server.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found