I thought that you are generally expected to write your WDSL by hand, that the generators don't work.

Well, some generators work ... but that's not necessarily a good thing.

The problem is, not all languages implement their data structures in the same manner -- most modern languages have a concept of an associative array of some sort ... but is a struct, a dict, a mapping, or a hash? Are any of those even the same thing? Does it support multiple values for a given key? Does it require a specific order? Does it allow elements to be missing?

It seems like a rather stupid thing, but what works in one language doesn't work in other languages. The solution is easy -- write the specification in something that doesn't deal with implementation details, and then force the language to implement the given specification.

So, write the WSDL first, then if you want to use some sort of auto-generator, use it to help you set up your functions/methods/subroutines/whatever they're called in the given language.

If you want to know more -- lurk on the SOAPBuilders mailing list for a while, or look for the various SOAP Interop testing, or search for 'SOAP impedence error'


In reply to Re^2: The sad state of SOAP and Perl by jhourcle
in thread The sad state of SOAP and Perl by jdrago_999

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.