Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 21769 invoked from network); 16 Jan 2006 07:49:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jan 2006 07:49:43 -0000 Received: (qmail 17531 invoked by uid 500); 16 Jan 2006 07:49:41 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 17283 invoked by uid 500); 16 Jan 2006 07:49:40 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 17272 invoked by uid 500); 16 Jan 2006 07:49:40 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 17269 invoked by uid 99); 16 Jan 2006 07:49:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2006 23:49:40 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 15 Jan 2006 23:49:39 -0800 Received: (qmail 21475 invoked by uid 65534); 16 Jan 2006 07:49:19 -0000 Message-ID: <20060116074919.21474.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r369387 - in /webservices/axis2/trunk/c/modules/xml/soap: soap_body.c soap_envelope.c Date: Mon, 16 Jan 2006 07:49:19 -0000 To: axis2-cvs@ws.apache.org From: nandika@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: nandika Date: Sun Jan 15 23:49:14 2006 New Revision: 369387 URL: http://svn.apache.org/viewcvs?rev=369387&view=rev Log: bug fixed Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_body.c?rev=369387&r1=369386&r2=369387&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original) +++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Sun Jan 15 23:49:14 2006 @@ -330,7 +330,7 @@ axis2_om_node_t *node) { axis2_soap_body_impl_t *body_impl = NULL; - AXIS2_FUNC_PARAM_CHECK( body_impl, env, AXIS2_FAILURE); + AXIS2_FUNC_PARAM_CHECK( body, env, AXIS2_FAILURE); AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE); body_impl = AXIS2_INTF_TO_IMPL(body); if(AXIS2_OM_NODE_GET_NODE_TYPE(node, env) != AXIS2_OM_ELEMENT) Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c?rev=369387&r1=369386&r2=369387&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c (original) +++ webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Sun Jan 15 23:49:14 2006 @@ -454,13 +454,14 @@ } else { - next_node = AXIS2_OM_NODE_GET_NEXT_SIBLING(envelope_impl->om_ele_node, env); + next_node = AXIS2_OM_NODE_GET_NEXT_SIBLING( first_node, env); while(next_node && AXIS2_OM_NODE_GET_NODE_TYPE(next_node , env) != AXIS2_OM_ELEMENT) { next_node = AXIS2_OM_NODE_GET_NEXT_SIBLING(next_node , env); } next_ele = (axis2_om_element_t *)AXIS2_OM_NODE_GET_DATA_ELEMENT(next_node, env); + if(next_ele && AXIS2_STRCMP(AXIS2_SOAP_BODY_LOCAL_NAME, AXIS2_OM_ELEMENT_GET_LOCALNAME(next_ele, env)) == 0) { @@ -569,4 +570,4 @@ envelope_impl = AXIS2_INTF_TO_IMPL(envelope); envelope_impl->soap_builder = soap_builder; return AXIS2_SUCCESS; -} \ No newline at end of file +}