You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/06/30 13:17:13 UTC

svn commit: r959266 - /axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c

Author: nandika
Date: Wed Jun 30 11:17:13 2010
New Revision: 959266

URL: http://svn.apache.org/viewvc?rev=959266&view=rev
Log: (empty)

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c?rev=959266&r1=959265&r2=959266&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c Wed Jun 30 11:17:13 2010
@@ -716,6 +716,7 @@ axis2_http_transport_utils_process_http_
                 soap_envelope = axiom_soap_envelope_create_default_soap_envelope(env, AXIOM_SOAP11);
                 def_body = axiom_soap_envelope_get_body(soap_envelope, env);
                 om_doc = axiom_stax_builder_get_document(om_builder, env);
+				root_node = axiom_document_get_root_element(om_doc, env);
                 root_node = axiom_document_build_all(om_doc, env);
                 axiom_soap_body_add_child(def_body, env, root_node);
             }
@@ -1132,6 +1133,7 @@ axis2_http_transport_utils_process_http_
                 soap_envelope = axiom_soap_envelope_create_default_soap_envelope(env, AXIOM_SOAP11);
                 def_body = axiom_soap_envelope_get_body(soap_envelope, env);
                 om_doc = axiom_stax_builder_get_document(om_builder, env);
+				root_node = axiom_document_get_root_element(om_doc, env);
                 root_node = axiom_document_build_all(om_doc, env);
                 axiom_soap_body_add_child(def_body, env, root_node);
             }
@@ -2296,7 +2298,8 @@ axis2_http_transport_utils_create_soap_m
         soap_envelope = axiom_soap_envelope_create_default_soap_envelope(env, AXIOM_SOAP11);
         def_body = axiom_soap_envelope_get_body(soap_envelope, env);
         om_doc = axiom_stax_builder_get_document(om_builder, env);
-        root_node = axiom_document_build_all(om_doc, env);
+		root_node = axiom_document_get_root_element(om_doc, env);
+		root_node = axiom_document_build_all(om_doc, env);
         axiom_soap_body_add_child(def_body, env, root_node);
         axiom_stax_builder_free_self(om_builder, env);
     }