mono-list  

[Mono-list] wsdl2 throws R2718 warning, but cannot find why

Alex Villací­s Lasso
Wed, 27 Jan 2010 13:54:18 -0800

I am writing a webservice that will be implemented server-side in PHP and consumed by (at least) a C++ binding and a Java binding. As this is the very first time I write a WSDL document, I am trying this file with various WSDL parsers to weed out inconsistencies. When using wsdl2 from mono 2.4.3.1 on Fedora 12, I get this warning:

--------------------------------------------
[a...@srv64 test]$ wsdl2 ../elastix-taskbar.wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.1433

There where some warnings while generating the code:

  ../elastix-taskbar.wsdl
    - This web reference does not conform to WS-I Basic Profile v1.1
        R2718: A wsdl:binding in a DESCRIPTION MUST have the same set of
        wsdl:operations as the wsdl:portType to which it refers.
          * Binding 'ElastixTaskbarSOAP', in Service Description
            'http://www.elastix.org/webservices/elastix-taskbar/'

Writing file 'ElastixTaskbar.cs'
[a...@srv64 test]$
--------------------------------------------

However, I fail to understand why the warning is issued with the WSDL document I built (attached). Is wsdl2 correct in issuing this warning?

Attachment: elastix-taskbar.wsdl
Description: application/wsdl

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

  • [Mono-list] wsdl2 throws R2718 warning, but cannot find why Alex Villací­s Lasso