One note on SOAP Faults:

According to the SOAP specification, SOAP Faults do not have
parameters, therefore all SOAP Faults must be defined using
document/literal.

In other words, the message definition should consist of one part
which refers to an element description:

<wsdl:message name="myFault">
  <wsdl:part name="fault" element="tns:myException"/>
</wsdl:message>

where tns:myException is defined as:

<xsd:element name="myException" type="tns:MyException"/>

and the binding should be defined as literal:

<wsdl:fault name="MyException" message="tns:"myFault">
    <wsdlsoap:fault name="MyException" use="literal"/>
</wsdl:fault>

Anne

On Wed, 23 Feb 2005 21:51:22 +0500, Sunil Kothari
<[EMAIL PROTECTED]> wrote:
> Hi Mariano,
> I am glad I could be of help.
> Ciao,
>  Sunil
> 
> DISCLAIMER:
>  Any Information contained or transmitted in this e-mail and / or
> attachments may contain confidential data, proprietary to Majoris
> Systems Pvt Ltd., and / or the authors of the information and is
> intended for use only by the individual or entity to which it is
> addressed. If you are not the intended recipient or email appears
> to have been sent to you by error, you are not authorised to access,
> read, disclose, copy, use or otherwise deal with it. If you
> have received this e-mail in error, please notify us immediately at mail
> to: [EMAIL PROTECTED] and delete this mail from your records.
> 
> This is to notify that Majoris Systems Pvt Limited shall have no
> liability or obligation, legal or otherwise, for any errors,
> omissions, viruses or computer problems experienced as a result of  this
> transmission since data over the public Internet cannot be  guaranteed
> to be secure or error-free.
> 
> ----- Original Message -----
> From: Mariano Eloy Fern�ndez <[EMAIL PROTECTED]>
> Date: Wednesday, February 23, 2005 5:13 pm
> Subject: Re: How do I deserialize the detail field in AxisFault to build
> MyException?
> 
> > Hi Sunil,
> >
> > I've gone the way you suggested, and you are completely right.
> > Given MyException (service imlpementation), Axis generates its own
> > MyException to be throws by the stub.
> > Thus, when I try catch MyException, I am actually catching Axis's
> >
> 
>

Reply via email to