You can call axis2_svc_client_get_last_response_has_fault(svc_client,
env) function to check for a fault. see [1] for more info.

https://svn.apache.org/repos/asf/webservices/rampart/trunk/c/samples/client/sec_echo/echo.c

-Manjula.



On Thu, 2009-01-08 at 04:39 +0000, Baxi, Rinilkumar (TCS) wrote:
> Hi Manjula,
> 
> Yes, I am talking about the Fault response at client side. It will help the 
> client to understand the underlying error. So most of the usage issues are 
> handled at by the user himself.
> 
> Please help me understanding the SOAP FAULT message generation in AXIS2C 
> engine.
> 
> Thanks,
> Rinil
> 
> -----Original Message-----
> From: Manjula Peiris [mailto:manj...@wso2.com] 
> Sent: Wednesday, January 07, 2009 10:16 PM
> To: Apache AXIS C Developers List
> Subject: Re: How can I make AXIS return SOAP Fault as an XML message?
> 
> Are you talking about getting the fault response at client side ?
> 
> On Tue, 2009-01-06 at 07:52 +0000, Baxi, Rinilkumar (TCS) wrote:
> > Hi,
> > 
> >  
> > 
> >    I have found that whenever Axis encounters an error and sets the
> > soapFault instance, is returns the 500 Internal Server Error. I want
> > it to return an XML that shows the SOAP Fault returned. How can I
> > achieve this?
> > 
> >  
> > 
> > Thanks,
> > 
> > Rinil
> > 
> > 
> 

Reply via email to