Problem using SOAP::Lite to access a WSDL based web service

Sriya Santhanam <[email protected]> Mon, 28 Jun 2004 13:41:16 -0700
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <[email protected]>
Hi,

I've just started using SOAP::Lite to write a Perl
client that communicates
with my web service using a WSDL. The web service
returns complex
objects and SOAP::Lite handles them by constructing a
nested structure
of hashes and returning a reference.

This worked fine until I started receiving arrays of
objects. In this
case, SOAP::Lite simply overwrites my hash (owing to
the presence of
duplicate keys) and all I receive is the last object
in the array. Is
there a way to get around this ? How can I get
SOAP::Lite to treat my
arrays as such without converting them to hashes ?

Also, when I print out my reference, I get the
following output :

Container=HASH(0x10aa11f0)

I'd appreciate any input on this.
Thanks,
Sriya



__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail