Hi Asaf!
> How can I define a custom fault for this operation?
I guess something like:
<xsd:element name="CalculatorFault">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
(xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd")
Regards,
Pablo
On Mon, Sep 25, 2006 at 11:35:42AM +0200, Asaf Lahav wrote:
> 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
>
--
Pablo Javier Roca Mendez
Intel GmbH/Bruehl, Hermuelheimer Str. 8a, 50321 Bruehl, Germany
Tel.: +49-2232-209024
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]