From ba8bd0b92037cad5f1153bf75f5a4230c84f9393 Mon Sep 17 00:00:00 2001 From: shankar Date: Tue, 9 Mar 2010 02:47:55 +0000 Subject: Fixing issues AXIS2C-1418 and AXIS2C-1418 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@920628 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/util/http_transport_utils.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/core/transport') 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; -- cgit v1.1-32-gdbae