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

Scott Seely <[email protected]> Mon, 28 Jun 2004 15:22:10 -0700
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <C7C4A42E1B9A2740B0BDF39D9BB22B4B048C46E9@RED-MSG-30.redmond.corp.microsoft.com>
You may have better luck on the SOAPLite dg at yahoo.
http://groups.yahoo.com/group/soaplite/

-----Original Message-----
From: Discussion of implementing SOAP applications today
[mailto:[email protected]] On Behalf Of Sriya Santhanam
Sent: Monday, June 28, 2004 1:41 PM
To: [email protected]
Subject: [SOAP] Problem using SOAP::Lite to access a WSDL based web
service

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=3DHASH(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