I am creating a test service using MUSE-2.0 m2.

A custom operation I defined is called "calculate".

The definition of the operation messages schema elements is as follows:

<xsd:element name="CalculateRequest">

<xsd:complexType>

                        <xsd:sequence>

                                    <xsd:element name="a" type="xsd:int"/>

                                    <xsd:element name="b" type="xsd:int"/>

                        </xsd:sequence>

            </xsd:complexType>

</xsd:element>

<xsd:element name="CalculatorResponse">

            <xsd:complexType>

                        <xsd:sequence>

                                    <xsd:element name="result"
type="xsd:int"/>

                        </xsd:sequence>

            </xsd:complexType>

</xsd:element>

 

How can I define a custom fault for this operation?

 

Thanks in advance,

Asaf

Reply via email to