title: Axis 2 Exception while generating java code of a WCF Webservice
body: <p>I've a web service created using WCF. It uses CustomException as well. </p>
  
  <p>When i use Axis 2 to generate java code from it (WSDL2JAVA) it thorws the following error:</p>
  
  <pre><code>&gt;     IWAB0399 Error in generating java from WSDL
  &gt;     Missing &lt;soap:fault&gt; element inFault Operation "CustomExceptionFault" in operation "CustomExceptionFault", in binding
  &gt; GetPDFs
  &gt;     java.io.IOException: ERROR: Missing &lt;soap:fault&gt; element inFault "CustomExceptionFault" in operation "CustomExceptionFault", in binding
  &gt; GetPDFs at
  &gt; org.apache.axis.wsdl.symbolTable.SymbolTable.faultFromSOAPFault(Unknown
  &gt; Source)
  </code></pre>
  
  <p>My WSDL snippet</p>
  
  <pre><code>&lt;wsdl:binding name="tdsServiceSoap12" type="tns:ITDSService"&gt;
  &lt;soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  &lt;wsdl:operation name="GetPDFs"&gt;
  &lt;soap12:operation soapAction="http://tempuri.org/ITDSService/GetPDFs" style="document"/&gt;
  &lt;wsdl:input&gt;
  &lt;soap12:body use="literal"/&gt;
  &lt;/wsdl:input&gt;
  &lt;wsdl:output&gt;
  &lt;soap12:body use="literal"/&gt;
  &lt;/wsdl:output&gt;
  &lt;wsdl:fault name="CustomExceptionFault"&gt;
  &lt;soap12:fault name="CustomExceptionFault" use="literal"/&gt;
  &lt;/wsdl:fault&gt;
  &lt;/wsdl:operation&gt;
  &lt;/wsdl:binding&gt;
  </code></pre>
  
  <p>Hope it clarifies. If need further information please let me know. </p>
  
  <p>Regards</p>