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 Web Services Framework%2FPHP - Open source PHP extention for providing and consuming Web services in PHP";


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to