axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Axis2C: how to check for SOAP fault
Date Thu, 04 Oct 2007 00:56:41 GMT
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?
You can use the function:
axis2_svc_client_get_last_response_has_fault(svc_client, env)

It returns true if there is a fault.

Samisa...

-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message