[Mono-bugs] [Bug 378909] New: WSDL: documentation element must be first element in binding

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 10 15:41:30 EDT 2008


           Summary: WSDL: documentation element must be first element in
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

The {http://schemas.xmlsoap.org/wsdl/}documentation element - if emitted (eg.
for WSI claims) - must be the first element in the binding element as defined
by the WSDL 1.1 XSD (http://schemas.xmlsoap.org/wsdl/).

We currently emit the SOAP binding element first.

For example:

  <binding name="MyTestServiceSoap" type="s0:MyTestServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.1"
xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" />
    <operation name="SayHello">
      <soap:operation soapAction="http://tempuri.org/SayHello" style="document"
        <soap:body use="literal" />
        <soap:body use="literal" />

The MS WSDL tool will output warnings for the WSDL's we generate:

Warning: The element 'binding' in namespace 'http://schemas.xmlsoap.org/wsdl/'
has invalid child element 'documentation' in namespace
'http://schemas.xmlsoap.org/wsdl/'. List of possible elements expected:
'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any
element in namespace '##other'.

Our WSDL tool does not output warnings.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list