From f14321f87f76c183693e0ed3f72adbd29d38c7a3 Mon Sep 17 00:00:00 2001 From: nandika Date: Fri, 19 Aug 2011 05:41:48 +0000 Subject: http_sender.c debug messages added git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1159506 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/sender/http_sender.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/transport/http/sender/http_sender.c b/src/core/transport/http/sender/http_sender.c index 83076a4..aca87d6 100644 --- a/src/core/transport/http/sender/http_sender.c +++ b/src/core/transport/http/sender/http_sender.c @@ -904,6 +904,7 @@ axis2_http_sender_send( if(!doing_mtom) { axis2_http_simple_request_set_body_string(request, env, buffer, buffer_size); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, buffer); } /* HTTPS request processing */ @@ -1330,6 +1331,12 @@ axis2_http_sender_send( /* Start processing response */ response = axis2_http_client_get_response(sender->client, env); + if(response) + { + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, + axis2_http_simple_response_get_status_line(response, env)); + } + if(!is_soap) { return axis2_http_sender_process_response(sender, env, msg_ctx, response); -- cgit v1.1-32-gdbae