tags:

views:

14

answers:

0

Hi,

SoapUI project created by using WSDL.. with definitions for Faults with complex types

<xsd:element name="Fault" type="FaultType">
    <xsd:annotation>
        <xsd:documentation>  </xsd:documentation>
    </xsd:annotation>
</xsd:element>

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...

and it generates following soap fault message

  <faultcode>?</faultcode>
  <faultstring xml:lang=""></faultstring>
  <!--Optional:-->
  <faultactor>?</faultactor>
  <!--Optional:-->
  <detail>
    <com:Fault/>
    <!--You may enter ANY elements at this point-->
  </detail>
</soapenv:Fault>

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

Kind Regards, carya