axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramesh Gopal <>
Subject Implement axis soap fault in server/ client side from C
Date Wed, 06 Jul 2011 11:48:17 GMT

Hello everybody,

I want to implement a logic of how to create soap fault from Axis2C in C.
It must follow the below format.

<soapenv:Envelope xmlns:soapenv="" >      




      <faultstring>There was an error in the web service</faultstring>    




          <iss:errormsg>The specified table (mengano) is not in the database.</iss:errormsg>                                                  






How do I get about coding this on the server side.

Another question I had was, how do I write my client code to understand this soap fault and
handle it.

Though this is a standard format, some services send a custom fault, Will they also be in
this format only.

Pls help me with some samples around these. Links will be an added advantage. I googled for
some samples, but havent been successful.


View raw message