I've had some experience using SOAP::WSDL, including bug fixes.

The message you're getting is just a warning, as the schemaLocation attribute (the URI for the xsd) is missing (it's optional).

However, I found that wdsl2perl actually bombs with the error:

"unsupported global type <xsd:string> found in part extID at /usr/local/share/perl/5.8.8/SOAP/WSDL/Generator/Iterator/WSDL11.pm line 75."

This is caused by the WSDL element:


<wsdl:part name="extID" type="xsd:string">

This implies document/literal semantics which is not alloed if the WSDL is to meet the WS-I standard. (Hell, I'm bluffing - I can't remember exactly what that means :)

Anyway, SOAP::WSDL is quite strict about adhering to the WS-I standard. I think this allows it to cover a manageable amount of functionality.

The WSDL looks like it was auto-generated - can you say which tools were used to generate it?

Using tools such as Apache Axis will (I believe) generally lead to success as it should produce WS-I compliant WDSL.

The problem with SOAP::Lite is that it simply doesn't handle complex types.


In reply to Re: SOAP::WSDL problems by sm@sh
in thread SOAP::WSDL problems by nyxOne

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.