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 sa...@apache.org on 2005/12/27 09:19:48 UTC
svn commit: r359185 - in /webservices/axis2/trunk/c:
include/axis2_soap_body.h modules/xml/soap/src/soap_body.c
Author: samisa
Date: Tue Dec 27 00:19:41 2005
New Revision: 359185
URL: http://svn.apache.org/viewcvs?rev=359185&view=rev
Log:
Added namespace to the create method
Modified:
webservices/axis2/trunk/c/include/axis2_soap_body.h
webservices/axis2/trunk/c/modules/xml/soap/src/soap_body.c
Modified: webservices/axis2/trunk/c/include/axis2_soap_body.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_body.h?rev=359185&r1=359184&r2=359185&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_body.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_body.h Tue Dec 27 00:19:41 2005
@@ -117,7 +117,8 @@
* @param env Environment. MUST NOT be NULL
*/
AXIS2_DECLARE(axis2_soap_body_t *)
-axis2_soap_body_create(axis2_env_t **env, struct axis2_soap_envelope *envelope);
+axis2_soap_body_create(axis2_env_t **env, struct axis2_soap_envelope *envelope,
+ axis2_om_namespace_t *ns);
/******************** Macros **************************************************/
Modified: webservices/axis2/trunk/c/modules/xml/soap/src/soap_body.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/src/soap_body.c?rev=359185&r1=359184&r2=359185&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/src/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/src/soap_body.c Tue Dec 27 00:19:41 2005
@@ -65,7 +65,7 @@
/*************** function implementations *************************************/
axis2_soap_body_t* AXIS2_CALL
-axis2_soap_body_create(axis2_env_t **env, struct axis2_soap_envelope *envelope)
+axis2_soap_body_create(axis2_env_t **env, struct axis2_soap_envelope *envelope, axis2_om_namespace_t *ns)
{
axis2_soap_body_impl_t *body_impl = NULL;
axis2_om_element_t *ele = NULL;
@@ -91,7 +91,7 @@
parent = AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env);
}
- ele = axis2_om_element_create(env, parent, AXIS2_SOAP_BODY_LOCAL_NAME, NULL, &(body_impl->base));
+ ele = axis2_om_element_create(env, parent, AXIS2_SOAP_BODY_LOCAL_NAME, ns, &(body_impl->base));
if (!ele)
{
AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);