title: FaultTypes in SoapUI
body: <p>SoapUI project created by using WSDL.. with definitions for Faults with complex types</p>
  
  <pre><code>&lt;xsd:element name="Fault" type="FaultType"&gt;
      &lt;xsd:annotation&gt;
          &lt;xsd:documentation&gt;  &lt;/xsd:documentation&gt;
      &lt;/xsd:annotation&gt;
  &lt;/xsd:element&gt;
  </code></pre>
  
  <p>In Mock Response edit window, when I create a Fault response, it prompts to choose the fault name "fault" which is defined in the WSDL...</p>
  
  <p>and it generates following soap fault message</p>
  
  <pre><code>  &lt;faultcode&gt;?&lt;/faultcode&gt;
    &lt;faultstring xml:lang=""&gt;&lt;/faultstring&gt;
    &lt;!--Optional:--&gt;
    &lt;faultactor&gt;?&lt;/faultactor&gt;
    &lt;!--Optional:--&gt;
    &lt;detail&gt;
      &lt;com:Fault/&gt;
      &lt;!--You may enter ANY elements at this point--&gt;
    &lt;/detail&gt;
  &lt;/soapenv:Fault&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>i was expecting the complex elements as defined in schema in this response ...
  did i miss something? or do i need to manually recreate this fault response</p>
  
  <p>Kind Regards,
  carya</p>