<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4631</bug_id>
          
          <creation_ts>2007-06-12 14:58:39 +0000</creation_ts>
          <short_desc>Proxy Class cannot be generated using WSDL 2 file on site</short_desc>
          <delta_ts>2008-06-18 20:18:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>Other</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>n/a</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Cope">acope</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>acope</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15378</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Cope">acope</who>
    <bug_when>2007-06-12 14:58:39 +0000</bug_when>
    <thetext>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 &apos;http://www.w3.org/2005/09/css-validator.wsdl&apos;.
- 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 &apos;WSDL Document&apos; is &apos;There is an error in XML document (2, 2).&apos;.
-&lt;description xmlns=&apos;http://www.w3.org/2006/01/wsdl&apos;&gt; was not expected.
-Report from &apos;DISCO Document&apos; is &apos;Discovery document at the URL http://www.w3.org/2005/09/css-validator.wsdl could not be found.&apos;.
-The document format is not recognized (the content type is &apos;application/wsdl+xml&apos;).
-Report from &apos;XML Schema&apos; is &apos;Expected Schema root. Make sure that the root element is &lt;schema&gt; and the namespace is &apos;http://www.w3.org/2001/XMLSchema&apos; for an XSD schema or &apos;urn:schemas-microsoft-com:xml-data&apos; for an XDR schema. An error occurred at , (2, 2).&apos;.

More information:
-OS: Windows XP SP2
-LANGUAGE: C#.NET
-DEV ENV: tried MS VS.NET 2003 &amp; MS VS.NET 2005 (by adding web service reference &amp; by using the wsdl.exe command-line utility provided by both versions of VS.NET)
-BROWSER: attempted download in Firefox, IE &amp; 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 &amp; 2005 wsdl tool does not support WSDL 2.0? I couldn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20588</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Me Not">w3c</who>
    <bug_when>2008-06-18 20:18:17 +0000</bug_when>
    <thetext>I had this problem as well.  It appears that .NET&apos;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. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>