From da05a0173e5d9b33231745471c5d6ae4def5c9c3 Mon Sep 17 00:00:00 2001 From: shankar Date: Wed, 7 Apr 2010 07:20:41 +0000 Subject: Fixing issue AXIS2C-1233 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931454 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/amqp/util/axis2_amqp_util.c | 12 ------------ src/core/transport/http/util/http_transport_utils.c | 9 --------- 2 files changed, 21 deletions(-) (limited to 'src') diff --git a/src/core/transport/amqp/util/axis2_amqp_util.c b/src/core/transport/amqp/util/axis2_amqp_util.c index cfef4a9..91d346a 100644 --- a/src/core/transport/amqp/util/axis2_amqp_util.c +++ b/src/core/transport/amqp/util/axis2_amqp_util.c @@ -264,18 +264,6 @@ axis2_amqp_util_get_soap_envelope( } soap_envelope = axiom_soap_builder_get_soap_envelope(soap_builder, env); - - if(soap_envelope) - { - /* hack to get around MTOM problem */ - axiom_soap_body_t *soap_body = axiom_soap_envelope_get_body(soap_envelope, env); - - if(soap_body) - { - axiom_soap_body_has_fault(soap_body, env); - } - } - return soap_envelope; } diff --git a/src/core/transport/http/util/http_transport_utils.c b/src/core/transport/http/util/http_transport_utils.c index d035991..0d96180 100644 --- a/src/core/transport/http/util/http_transport_utils.c +++ b/src/core/transport/http/util/http_transport_utils.c @@ -2258,16 +2258,7 @@ axis2_http_transport_utils_create_soap_msg( axiom_soap_builder_set_mime_body_parts(soap_builder, env, binary_data_map); } - if(soap_envelope) - { - /* hack to get around MTOM problem */ - axiom_soap_body_t *soap_body = axiom_soap_envelope_get_body(soap_envelope, env); - if(soap_body) - { - axiom_soap_body_has_fault(soap_body, env); - } - } if(stream) { axutil_stream_free(stream, env); -- cgit v1.1-32-gdbae