SOAP::Lite parsing of fields with multiple values.
From: Tom McGlynn (tam_at_lheapop.gsfc.nasa.gov)
Date: 04/01/04
- Next message: Sherm Pendley: "Re: Module install help?"
- Previous message: cross: "Perl Module installation error - KPIC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Mar 2004 14:10:21 -0800
I'm having some trouble using SOAP::Lite to parse responses
where a field has multiple values specified like:
<Resource xsi:type="ServiceSimpleImageAccess">
...
<Subject>
<string>Surveys</string>
<string> Stars</string>
<string> Galaxies</string>
</Subject>
...
</Resource>
I only see the Galaxies value for subject, where I would
have expected an array of three strings.
I've kludged in a fix for this (in decode_value in SOAP::Lite),
but I'm curious if others have seen this behavior and if
there is something else I should be doing that would address
this more elegantly. I notice the problem is still there in v0.60.
I'm not a devotee of this newsgroup, so my apologies if this
is a standard question. Google didn't seem to have anything
relevant.
TIA,
Tom McGlynn
- Next message: Sherm Pendley: "Re: Module install help?"
- Previous message: cross: "Perl Module installation error - KPIC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|