[Mono-list] wsdl & wsdl2

Michael Masters michael.masters at rallydev.com
Mon Oct 29 12:20:31 EDT 2007


I was wondering what the difference is between these two executables. 
When I try to use these executables on my wsdl, it gives me different 
errors/warnings.

When I run wsdl, I get the following in my source file:

// WARNING: Could not generate operation binding create. The combination 
of style=rpc with use=literal is not supported

When I run wsdl2, I get following:

mmasters at texas:~/mono/rally$ wsdl2 rally.wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.42

There where some warnings while generating the code:

  rally.wsdl
    - This web reference does not conform to WS-I Basic Profile v1.1
        R2209: A wsdl:binding in a DESCRIPTION SHOULD bind every 
wsdl:part of a
        wsdl:message in the wsdl:portType to which it refers to one of
        soapbind:body, soapbind:header, soapbind:fault  or 
soapbind:headerfault
          * Binding 'RallyServiceSoapBinding', in Service Description
            'http://rallydev.com/webservice/v1_04/service'
        R2710: The operations in a wsdl:binding in a DESCRIPTION MUST 
result in
        operation signatures that are different from one another.
          * Binding 'RallyServiceSoapBinding', in Service Description
            'http://rallydev.com/webservice/v1_04/service'
          * Binding 'RallyServiceSoapBinding', in Service Description
            'http://rallydev.com/webservice/v1_04/service'
        R2304: A wsdl:portType in a DESCRIPTION MUST have operations with
        distinct values for their name attributes.
          * PortType 'RallyService', in Service Description
            'http://rallydev.com/webservice/v1_04/service'
          * PortType 'RallyService', in Service Description
            'http://rallydev.com/webservice/v1_04/service'
        R2305: A wsdl:operation element child of a wsdl:portType element 
in a
        DESCRIPTION MUST be constructed so that the parameterOrder 
attribute,
        if present, omits at most 1 wsdl:part from the output message.
          * Operation 'read', in PortType 'RallyService', in Service
            Description 'http://rallydev.com/webservice/v1_04/service'
          * Operation 'query', in PortType 'RallyService', in Service
            Description 'http://rallydev.com/webservice/v1_04/service'
          * Operation 'query', in PortType 'RallyService', in Service
            Description 'http://rallydev.com/webservice/v1_04/service'
    - WARNING: At least one operation is of an unsupported type and has been
      ignored

Writing file 'RallyServiceService.cs'

When I use visual studio, I don't get any errors. Any suggestions on how 
to get my wsdl working under Mono?



Thanks in advance,
Mike


More information about the Mono-list mailing list