This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I cannot generate a proxy class to call the CSS validation web service given the provided wsdl file (http://www.w3.org/2005/09/css-validator.wsdl) in the web documentation. The following error was generated: Error: There was an error processing 'http://www.w3.org/2005/09/css-validator.wsdl'. - The document at the url http://www.w3.org/2005/09/css-validator.wsdl 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='http://www.w3.org/2006/01/wsdl'> was not expected. -Report from 'DISCO Document' is 'Discovery document at the URL http://www.w3.org/2005/09/css-validator.wsdl 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 'http://www.w3.org/2001/XMLSchema' 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 -LANGUAGE: C#.NET -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 (http://msdn2.microsoft.com/en-us/library/7h3ystb6(vs.71).aspx), 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.
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 ( http://lists.w3.org/Archives/Public/public-qa-dev/2005Nov/att-0006/validator_w11.wsdl ), 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 ( http://www.w3.org/Bugs/Public/show_bug.cgi?id=5770 ) that ended my attempts at using XML output from this service.