For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > March 2004 > SOAP::Lite parsing of fields with multiple values.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SOAP::Lite parsing of fields with multiple values.
Tom McGlynn

2004-03-31, 6:34 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com