title: Different WSDL ASMX,WCF web-services
body: <p>I've got asmx web-service, which is succefully consumed from other clients(.NET,Delphi).</p>
  
  <p>I try come to wcf, and write the same logic at WCF service(basicHttpBinding for interopability). (.net client consume ok, but delphi 7 couldn't call this service).</p>
  
  <p>I start research differences between two services(asmx,wcf) and detect that their wsdl are diffrent:</p>
  
  <p>WSDL asmx:</p>
  
  <pre><code>&lt;s:element name="Test"&gt;
  
  &lt;s:complexType&gt;
  
  &lt;s:sequence&gt;
  &lt;s:element minOccurs="1" maxOccurs="1" name="a" type="s:int"/&gt;
  &lt;/s:sequence&gt;
  &lt;/s:complexType&gt;
  &lt;/s:element&gt;
  
  &lt;s:element name="TestResponse"&gt;
  
  &lt;s:complexType&gt;
  
  &lt;s:sequence&gt;
  &lt;s:element minOccurs="0" maxOccurs="1" name="TestResult" type="s:string"/&gt;
  &lt;/s:sequence&gt;
  &lt;/s:complexType&gt;
  &lt;/s:element&gt;
  </code></pre>
  
  <p>wsdl of wcf is rather different:</p>
  
  <pre><code>&lt;wsdl:operation name="Test"&gt; &lt;soap:operation soapAction="http://tempuri.org/ISyncer/Test" style="document"/&gt;
  
  &lt;wsdl:input&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:input&gt;
  
  &lt;wsdl:output&gt; &lt;soap:body use="literal"/&gt; &lt;/wsdl:output&gt;
  
  &lt;wsdl:fault name="ServiceFaultExceptionFault"&gt; &lt;soap:fault name="ServiceFaultExceptionFault" use="literal"/&gt; &lt;/wsdl:fault&gt; &lt;/wsdl:operation&gt;
  </code></pre>
  
  <p>I think it's a reson why delphi can't generate correct proxy.</p>
  
  <p>Can i config wcf to generate wsdl the same as asmx.</p>
  
  <p>Thanks.</p>