summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar nandika2011-08-19 05:41:48 +0000
committerGravatar nandika2011-08-19 05:41:48 +0000
commitf14321f87f76c183693e0ed3f72adbd29d38c7a3 (patch)
treee43d1301330dd799c73c9420c0964d085b335b86
parenta832b9d70d993e7afb4b87ec603e2023e571f30a (diff)
downloadaxis2c-f14321f87f76c183693e0ed3f72adbd29d38c7a3.tar.gz
axis2c-f14321f87f76c183693e0ed3f72adbd29d38c7a3.tar.bz2
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
-rw-r--r--src/core/transport/http/sender/http_sender.c7
1 files changed, 7 insertions, 0 deletions
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);