Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Trouble Passing Objects using SOAP::Lite

by fogues (Initiate)
on May 28, 2004 at 16:01 UTC ( [id://357274]=note: print w/replies, xml ) Need Help??


in reply to Re: Trouble Passing Objects using SOAP::Lite
in thread Trouble Passing Objects using SOAP::Lite

Hi Randy and Monks:

Thanks for the helpful info! I have got the order sorted out but am having trouble with the namespaces. I reread your article a few times but I must be missing something.

My old requests had:

...<arrayOfEventModel_1 xsi:type="SOAP-ENC:ArrayOfEventModel" SOAP-ENC:arrayType="namesp1:EventModel[1]"> <item xsi:type="namesp1:EventModel">...

and this was OK. But, the new requests have:

...<arrayOfEventModel_1 xsi:type="SOAP-ENC:ArrayOfEventModel" SOAP-ENC:arrayType="xsd:ur-type[1]"> <item>...

I have noted that $attr (as received by serialize_complex_type) is a zero length string. I assume this impairs the intended namespace handling.

My plan after this was to review the SOAP::Serialzer package AUTOLOAD sub (assuming it handles the as_whatever__class calls) and reuse some of this code in the serialize_complex_type sub in attempts to preserve the way this part of the serialization is handled. But there is no AUTOLOAD!

Please let me know how I can locate this code, or if there's another angle to try.

Thanks in advance,
Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found