You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ga...@apache.org on 2008/12/02 23:18:10 UTC
svn commit: r722634 -
/webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java
Author: gawor
Date: Tue Dec 2 14:18:09 2008
New Revision: 722634
URL: http://svn.apache.org/viewvc?rev=722634&view=rev
Log:
handle HTTP GET on services when request uri does not contain query (?) parameter (WSCOMMONS-405)
Modified:
webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java
Modified: webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java?rev=722634&r1=722633&r2=722634&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java (original)
+++ webservices/commons/trunk/modules/transport/modules/http/src/org/apache/axis2/transport/http/HTTPWorker.java Tue Dec 2 14:18:09 2008
@@ -111,17 +111,6 @@
}
}
}
- } else {
- String serviceName = uri.replaceAll(contextPath, "");
- if (serviceName.indexOf("/") < 0) {
- String s = HTTPTransportReceiver
- .printServiceHTML(serviceName, configurationContext);
- response.setStatus(HttpStatus.SC_OK);
- response.setContentType("text/html");
- OutputStream out = response.getOutputStream();
- out.write(EncodingUtils.getBytes(s, HTTP.ISO_8859_1));
- return;
- }
}
}
}