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;
- }
}
}
}