You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/03/15 21:43:41 UTC
svn commit: r637465 -
/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
Author: senaka
Date: Sat Mar 15 13:43:39 2008
New Revision: 637465
URL: http://svn.apache.org/viewvc?rev=637465&view=rev
Log:
Fixing JIRA Issue AXIS2C-1056
Modified:
webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c?rev=637465&r1=637464&r2=637465&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c Sat Mar 15 13:43:39 2008
@@ -387,7 +387,7 @@
else
{
body_string =
- axis2_http_transport_utils_get_services_html(env, conf_ctx);
+ axis2_http_transport_utils_get_internal_server_error(env, conf_ctx);
request->content_type = AXIS2_HTTP_HEADER_ACCEPT_TEXT_HTML;
request->status = HTTP_INTERNAL_SERVER_ERROR;
}
@@ -476,7 +476,7 @@
else
{
body_string =
- axis2_http_transport_utils_get_services_html(env, conf_ctx);
+ axis2_http_transport_utils_get_internal_server_error(env, conf_ctx);
request->content_type = AXIS2_HTTP_HEADER_ACCEPT_TEXT_HTML;
request->status = HTTP_INTERNAL_SERVER_ERROR;
}
@@ -526,6 +526,19 @@
send_status = OK;
request->status = HTTP_INTERNAL_SERVER_ERROR;
}
+ }
+ else
+ {
+ body_string =
+ axis2_http_transport_utils_get_not_implemented(env, conf_ctx);
+ request->content_type = AXIS2_HTTP_HEADER_ACCEPT_TEXT_HTML;
+
+ if (body_string)
+ {
+ body_string_len = axutil_strlen(body_string);
+ }
+ send_status = OK;
+ request->status = HTTP_NOT_IMPLEMENTED;
}
op_ctx = axis2_msg_ctx_get_op_ctx(msg_ctx, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org