Stefano Pettini wrote:
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:
hmm, this is a strange error.
Could you please capture the SOAP messages that it works for and not
work for and send those. That may help identify the problem. I suppose
there is something wrong with the SOAP versions in use, but that is only
a guess.
Samisa...
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]
--
Samisa Abeysinghe - Apche Axis2/C
"http://ws.apache.org/axis2/c/?Apache Axis2/C The Web Services Engine"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]