Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 89123 invoked from network); 16 Jul 2009 00:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 00:15:46 -0000 Received: (qmail 56634 invoked by uid 500); 16 Jul 2009 00:15:55 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 56583 invoked by uid 500); 16 Jul 2009 00:15:54 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 56562 invoked by uid 99); 16 Jul 2009 00:15:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 00:15:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.147.74.225] (HELO web62002.mail.re1.yahoo.com) (69.147.74.225) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Jul 2009 00:15:45 +0000 Received: (qmail 74711 invoked by uid 60001); 16 Jul 2009 00:15:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1247703323; bh=0Ty46ir05oI/JISbdhvz9rbXqEZ5KzQsjD0JJZxANw4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=o+38fZxqIvuU1ovF8zloo789VFFnBGNEVLIfa7DrPQwSVdpLq4SNA5vT/w2+qElp+07H4Mh5jw+VLzJTOrMvgR2amMW7x737MPHJsuPw5QJrxMgCfjHQuGTPJIQx/WEo+O5BCsRiR6CMEi7Z48D7OnzNprMiM4wqExuV8rv/FVM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6o7vUsG7cLJn9JzDUQCGQZ4wo9/7whKE+4VryT5qMw3kdI6ld4V/cRHkfDljEQUTpmYtnJBxa9fWnzDa7o1aqEbWP/TR2YyjMOUbWfhV5ds3O88MP/oFgHNSQ4O3imGmQn7UfgoSWC18NGHawks65jakPetyDP/0JkChxlaOxrs=; Message-ID: <634696.74066.qm@web62002.mail.re1.yahoo.com> X-YMail-OSG: 4c0ps4AVM1nPb90jXFGc7.t5NN1slXTjAKNjh.6xRM83ymwRbzYut9LqU0SewLu3Y_6SCshEgkfflmaVCG2JQ7tIvNgywwl0Uf66v2Zz8afLeifeA31kMaAxyt0ix6U8KsGEc_Kf9HcYwGJxFWjqVJWrRUCEzIklL9aITZK0OU4qhk3f38I_8zYQ.g7eO.OFt2Djjh1tvZanQ0ML84OziOxtratemNPBeuPiFGvX.1jn2LZAvTfWEo3IVlDh_81LO7PGXg_b7XvyFOzC9bcCvk8yQ9bYNHzHp_C9Q9Y0N_oHpRifiyD3TgmsCgyoDe9yf2EV Received: from [204.50.113.28] by web62002.mail.re1.yahoo.com via HTTP; Wed, 15 Jul 2009 17:15:23 PDT X-Mailer: YahooMailRC/1358.21 YahooMailWebService/0.7.289.15 Date: Wed, 15 Jul 2009 17:15:23 -0700 (PDT) From: Vivian Wang Subject: how to get the http status code To: axis-c-user@ws.apache.org Cc: axis-c-dev@ws.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi There,=0A=0AI am using axis2/c to make web service client call, like thi= s:=0A=0A=A0=A0=A0=A0=A0 axiom_node_t * node =3D axis2_svc_client_send_recei= ve(_wsf_service_client, _env, payload);=0A=0AAfter this, I am trying to use= the following API to get the http status code,=0A=0A=A0=A0=A0=A0=A0=A0AXIS= 2_EXTERN int AXIS2_CALL axis2_svc_client_get_http_status_code(axis2_svc_cli= ent_t * svc_client, const axutil_env_t * env);=0A=0AI=A0am expecting 408 fo= r time out, 200 for success. However, I=A0am always getting 0.=A0How do I g= et the proper status code?=0A=0AThanks!=0AVivian=A0=0A=0A=0A=0A