You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/02/17 07:02:47 UTC

svn commit: r378443 - /webservices/axis2/trunk/c/modules/xml/soap/soap_body.c

Author: nandika
Date: Thu Feb 16 22:02:46 2006
New Revision: 378443

URL: http://svn.apache.org/viewcvs?rev=378443&view=rev
Log:
soap_body_create_with_parent now sets soap_envelope's soap_body

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.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=378443&r1=378442&r2=378443&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Thu Feb 16 22:02:46 2006
@@ -185,12 +185,12 @@
                                   &(body_impl->om_ele_node));
     if (!ele)
     {
-        printf(" element null");
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         axis2_soap_body_free(&(body_impl->soap_body), env);
         return NULL;
     }
-     return &(body_impl->soap_body);           
+    AXIS2_SOAP_ENVELOPE_SET_BODY(envelope, env, &(body_impl->soap_body));
+    return &(body_impl->soap_body);           
 }
 
 axis2_status_t AXIS2_CALL