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


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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.