title: SOAP:fault error in WSDL definition generated by Delphi 2010
body: <p>I got a problem with WSDL generation in Delphi 2010. I wrote a example and copied the generated WSDL File:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IHalloWeltIntfservice" targetNamespace="http://www.micos.de/namespace/" xmlns:tns="http://www.micos.de/namespace/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="http://www.borland.com/namespaces/Types" xmlns:ns2="urn:XSTypen" xmlns:ns3="urn:uHalloWeltIntf"&gt;
    &lt;types&gt;    
      &lt;xs:schema targetNamespace="urn:uHalloWeltIntf" xmlns="urn:uHalloWeltIntf"&gt;
        &lt;xs:complexType name="EHalloWelt"&gt;
          &lt;xs:sequence&gt;
            &lt;xs:element name="KundenId" type="xs:int"/&gt;
          &lt;/xs:sequence&gt;
        &lt;/xs:complexType&gt;
      &lt;/xs:schema&gt;
    &lt;/types&gt;  
    &lt;message name="HoleHalloWeltAlsXML2Request"&gt;
      &lt;part name="InstitutionId" type="xs:int"/&gt;
      &lt;part name="KundenId" type="xs:int"/&gt;
    &lt;/message&gt;
    &lt;message name="HoleHalloWeltAlsXML2Response"&gt;
      &lt;part name="return" type="xs:string"/&gt;
    &lt;/message&gt;
    &lt;message name="HoleHalloWeltAlsXML2fault0"&gt;
      &lt;part name="EHalloWelt" type="ns3:EHalloWelt"/&gt;
    &lt;/message&gt;
    &lt;portType name="IHalloWeltIntf"&gt;    
      &lt;operation name="HoleHalloWeltAlsXML"&gt;
        &lt;input message="tns:HoleHalloWeltAlsXML2Request"/&gt;
        &lt;output message="tns:HoleHalloWeltAlsXML2Response"/&gt;
        &lt;fault name="EKeineVitalwerteVorhanden" message="tns:HoleHalloWeltAlsXML2fault0"/&gt;
      &lt;/operation&gt;
    &lt;/portType&gt;
    &lt;binding name="IHalloWeltIntfbinding" type="tns:IHalloWeltIntf"&gt;
      &lt;soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/&gt;    
      &lt;operation name="HoleHalloWeltAlsXML"&gt;
        &lt;soap:operation soapAction="urn:uHalloWeltIntf-IHalloWeltIntf#HoleHalloWeltAlsXML" style="rpc"/&gt;
        &lt;input&gt;
          &lt;soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uHalloWeltIntf-IHalloWeltIntf"/&gt;
        &lt;/input&gt;
        &lt;output&gt;
          &lt;soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uHalloWeltIntf-IHalloWeltIntf"/&gt;
        &lt;/output&gt;
        &lt;fault&gt;
          &lt;soap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uHalloWeltIntf-IHalloWeltIntf"&gt;&lt;/soap:fault&gt;
        &lt;/fault&gt;
      &lt;/operation&gt;
    &lt;/binding&gt;
    &lt;service name="IHalloWeltIntfservice"&gt;
      &lt;port name="IHalloWeltIntfPort" binding="tns:IHalloWeltIntfbinding"&gt;
        &lt;soap:address location="http://localhost:1024/soap/IHalloWeltIntf"/&gt;
      &lt;/port&gt;
    &lt;/service&gt;
  &lt;/definitions&gt;
  </code></pre>
  
  <p>At first the file looks good, but if I try to import it to NetBeans the ant wscompile target tells me that there is a missing attibute in the binding block. The soap:fault element hasn't got a name attribute. In my opinion the attribute is required in WSDL definition. Is this a bug in Delphi or are there any ways to make the WSDL work in other languages?</p>