summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/transport/http/util/http_transport_utils.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/transport/http/util/http_transport_utils.c b/src/core/transport/http/util/http_transport_utils.c
index 97d1510..0da11ac 100644
--- a/src/core/transport/http/util/http_transport_utils.c
+++ b/src/core/transport/http/util/http_transport_utils.c
@@ -1424,19 +1424,20 @@ axis2_http_transport_utils_process_http_delete_request(
axis2_msg_ctx_set_doing_rest(msg_ctx, env, AXIS2_FALSE);
}
+ if(AXIS2_SUCCESS != axis2_http_transport_utils_dispatch_and_verify(env, msg_ctx))
+ {
+ return AXIS2_FALSE;
+ }
+
soap_envelope = axis2_http_transport_utils_handle_media_type_url_encoded(env, msg_ctx,
request_params, AXIS2_HTTP_DELETE);
if(!soap_envelope)
{
return AXIS2_FALSE;
}
-
axis2_msg_ctx_set_soap_envelope(msg_ctx, env, soap_envelope);
- if(AXIS2_SUCCESS != axis2_http_transport_utils_dispatch_and_verify(env, msg_ctx))
- {
- return AXIS2_FALSE;
- }
+
engine = axis2_engine_create(env, conf_ctx);
axis2_engine_receive(engine, env, msg_ctx);
return AXIS2_TRUE;