Hi,
there is a "axis2_svc_client_get_last_response_has_fault", but doesn't
seem to work well (or, probably, I'm using it in the wrong way). Fault
received from Java JAX-WS implementations are detected, while faults
received from Axis2/C servers are not.
Here's my piece of code. Don't consider it correct, as I just said,
sometimes works, sometimes not:
response = axis2_svc_client_send_receive(axClient, axEnv, xml);
if (response)
{
if (axis2_svc_client_get_last_response_has_fault(axClient, axEnv))
{
FAULT
Bye.
PS.
I'm back !! I had email problems, and I still have them, but I've found
a magic workaround :-)
Stefano
Michael Mole wrote:
How can I check for a SOAP fault using my ret_node in the following
statement:
axiom_node_t *ret_node = NULL;
ret_node = axis2_svc_client_send_receive_with_op_qname( svc_client,
env, op_qname, payload);
Should I check the node type?
Thanks,
Mike
Michael J Molé
Software Engineer
IBM Software Group - Rational
(781)676-2710
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]