Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 60913 invoked from network); 4 Oct 2007 01:26:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 01:26:27 -0000 Received: (qmail 1799 invoked by uid 500); 4 Oct 2007 01:26:15 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 1780 invoked by uid 500); 4 Oct 2007 01:26:15 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 1769 invoked by uid 99); 4 Oct 2007 01:26:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 18:26:15 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.15] (HELO relay01.pair.com) (209.68.5.15) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Oct 2007 01:26:15 +0000 Received: (qmail 34397 invoked from network); 4 Oct 2007 01:25:53 -0000 Received: from unknown (HELO ?10.100.1.194?) (unknown) by unknown with SMTP; 4 Oct 2007 01:25:53 -0000 X-pair-Authenticated: 222.165.132.170 Message-ID: <47043A49.2040304@wso2.com> Date: Thu, 04 Oct 2007 06:56:41 +0600 From: Samisa Abeysinghe User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: Axis2C: how to check for SOAP fault References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org