AxisServlet error - <TRANSPORT> (e.g., http) is forbidden
---------------------------------------------------------
Key: AXIS2-4516
URL: https://issues.apache.org/jira/browse/AXIS2-4516
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: transports
Affects Versions: nightly
Reporter: Denis
2009-10-05 20:16:32,828 [http-80-Processor23] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/axis2-test].[AxisServlet]
- Servlet.service() for servlet AxisServlet threw exception
javax.servlet.ServletException: http is forbidden
at
org.apache.axis2.transport.http.AxisServlet.preprocessRequest(AxisServlet.java:628)
at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:246)
...
The code:
TransportInDescription transportInDescription =
req.isSecure()?
this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP) :
this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS);
in method "AxisServlet#private void preprocessRequest(HttpServletRequest req)
throws ServletException {...}" should be replaced by code:
TransportInDescription transportInDescription =
req.isSecure() ?
this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS) :
this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.