Punnoose, Roshan wrote:
> Hi,
> 
>  
> 
> I am returning a SOAPFault from my server and my client has a Callback
> to retrieve everything from the server. In the onError(...) method, I
> get an AxisFault, however, I only have visibility into the SOAPFaultCode
> and not the Reason or the Detail. Is there something I have to do to get
> this to work? The Reason and Detail are null for some reason. Thanks!
> 

Can you see the complete fault in the incoming message, if you observe
the message using TCPMon or something?

If yes, did u set Options.setExceptionToBeThrownOnSOAPFault(false) ?

If yes, from the callback you can get the whole SOAPEnvelope, with the
fault inside the body of it, by calling AsyncResult.getResponseEnvelope()

-- Eran Chinthaka

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to