Hmm... would I be able to send a SOAPFault using the ServiceClient send*
methods? Is that possible?

Because what I want to do is be able to send a SOAPFault from the server
using the ServiceClient interface.

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 12:55 PM
To: [email protected]
Subject: Re: [Axis2] Custom Fault

Hi Punnoose;
If you use fireAndForget you wont get any server side exception, if you
want o get exception then you need to use sendRobust();

Thanks
Deepal

> Hi,
>
> How do I create a custom fault and send it to a client callback
> endpoint? This logic is being done outside the service (so I do not
> have access to the IN MessageContext), in another java class where I
> create a ServiceClient and send an OMElement using the
> fireAndForget(...) function. I want to be able to send back a custom
> SOAPFault. Is this possible?
>
> **Roshan Punnoose**
>
> Phone: 301-497-6039
>
>
------------------------------------------------------------------------
>
> *From:* Punnoose, Roshan [mailto:[EMAIL PROTECTED]
> *Sent:* Tuesday, October 10, 2006 11:02 AM
> *To:* [email protected]
> *Subject:* [Axis2] SetExceptionThrownOnFault
>
> Hi,
>
> Can I set this property in the axis2.xml for the server:
>
> options.setExceptionToBeThrownOnSOAPFault(false);
>
> Thanks
>
> **Roshan Punnoose**
>
> Phone: 301-497-6039
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to