summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/amqp/util/axis2_amqp_util.c12
-rw-r--r--src/core/transport/http/util/http_transport_utils.c9
2 files changed, 0 insertions, 21 deletions
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);