You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/01/16 08:49:19 UTC

svn commit: r369387 - in /webservices/axis2/trunk/c/modules/xml/soap: soap_body.c soap_envelope.c

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
+}