Can anyone suggest a way to either make the server less strict, or else to improve the WSDL-reading capability of the Perl SOAP client in SOAP::Lite?

To make the server 'less strict', the only way that I know of is to change it to use document/literal encoding, which doesn't require the clients to send a type for each element, and so it's 'less strict' in that there's no type to match against. However, I have no idea what it would require to change your server to do this.

For better WSDL support, I know there exists SOAP::WSDL, but I've never used it. My problem is the opposite -- supporting strict clients w/ a SOAP::Lite server. For that, I use a replacement serializer, which doesn't examine the value of the element to determine the type, but looks at the element's name (I either pull the name from the hash key, or bless items into a class).


In reply to Re: SOAP::Lite misbehavior or bug? by jhourcle
in thread SOAP::Lite misbehavior or bug? by McMahon

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.