This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4631 - Proxy Class cannot be generated using WSDL 2 file on site
Summary: Proxy Class cannot be generated using WSDL 2 file on site
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: n/a
Depends on:
Reported: 2007-06-12 14:58 UTC by Aaron Cope
Modified: 2008-06-18 20:18 UTC (History)
2 users (show)

See Also:


Description Aaron Cope 2007-06-12 14:58:39 UTC
I cannot generate a proxy class to call the CSS validation web service given the provided wsdl file ( in the web documentation.

The following error was generated:
Error: There was an error processing ''.
- The document at the url was not recognized as a known document type.
The error message from each known type may help you fix the problem:
-Report from 'WSDL Document' is 'There is an error in XML document (2, 2).'.
-<description xmlns=''> was not expected.
-Report from 'DISCO Document' is 'Discovery document at the URL could not be found.'.
-The document format is not recognized (the content type is 'application/wsdl+xml').
-Report from 'XML Schema' is 'Expected Schema root. Make sure that the root element is <schema> and the namespace is '' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error occurred at , (2, 2).'.

More information:
-OS: Windows XP SP2
-DEV ENV: tried MS VS.NET 2003 & MS VS.NET 2005 (by adding web service reference & by using the wsdl.exe command-line utility provided by both versions of VS.NET)
-BROWSER: attempted download in Firefox, IE & Safari for PC. 
-Attempted to generate the proxy from two different locations (same error message):
1) from the URL at w3c
2) from the local URL after downloading from w3c

Please let me know if I am missing something or if the WSDL is malformed. Perhaps the VS.NET 2003 & 2005 wsdl tool does not support WSDL 2.0? I couldn't find any conclusive documentation on this (, but if it is the case, do you have a WSDL 1.1 spec for creating a proxy class to call this web service?

Thank you.
Comment 1 Bug Me Not 2008-06-18 20:18:17 UTC
I had this problem as well.  It appears that .NET's wsdl.exe does not support WSDL2.  Someone did post a WSDL version 1 file here ( ), but it also has some problems and even after I cleaned it up, .NET did not like  it.

So solve my problem I resorted to hand coding the classes in question but ran into one final blocking bug ( ) that ended my attempts at using XML output from this service.