diff options
author | nandika | 2010-06-30 11:17:13 +0000 |
---|---|---|
committer | nandika | 2010-06-30 11:17:13 +0000 |
commit | 2c5f0c61045e0482dcb08b02853f3bb989e9fd2e (patch) | |
tree | 4cc681adddbf8a50ba0e477cb9ab86984a663431 /src/core/transport | |
parent | 261891fdfd4f7fb9f113846150dd24607963c6fd (diff) | |
download | axis2c-2c5f0c61045e0482dcb08b02853f3bb989e9fd2e.tar.gz axis2c-2c5f0c61045e0482dcb08b02853f3bb989e9fd2e.tar.bz2 |
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@959266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport')
-rw-r--r-- | src/core/transport/http/util/http_transport_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/transport/http/util/http_transport_utils.c b/src/core/transport/http/util/http_transport_utils.c index 6173d7c..552cde5 100644 --- a/src/core/transport/http/util/http_transport_utils.c +++ b/src/core/transport/http/util/http_transport_utils.c @@ -716,6 +716,7 @@ axis2_http_transport_utils_process_http_post_request( 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_put_request( 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_msg( 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); } |