axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vish Shah (JIRA)" <>
Subject [jira] Commented: (AXIS2-4648) HTTPS Only Transport does not work
Date Tue, 16 Mar 2010 23:31:27 GMT


Vish Shah commented on AXIS2-4648:

	at org.apache.axis2.client.ServiceClient.cleanupTransport(
	at org.service.client.SynchronizeClient.synchronizeData(
	at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(
	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(
	at org.springframework.web.servlet.DispatcherServlet.doService(
	at org.springframework.web.servlet.FrameworkServlet.processRequest(
	at org.springframework.web.servlet.FrameworkServlet.doPost(
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(

> HTTPS Only Transport does not work
> ----------------------------------
>                 Key: AXIS2-4648
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Solaris, apache tomcat 6.0.24 
>            Reporter: Vish Shah
>            Priority: Critical
> Hi,
> It seems HTTPS only transport does not work with The following code executes
and expects the HTTP transport definition in Axis2.xml file.
> TransportOutDescription transportOut = msgContext.getConfigurationContext().
>                     getAxisConfiguration().getTransportOut(Constants.TRANSPORT_HTTP);
> Steps to reproduce 
> 1. only keep https definition in axis2.xml and remove http definition.
> 2. run any axis2 service. Result would be a Null pointer exception
> In my Axis2.xml configuration, i removed the HTTP (<transportSender name="http") transport
sender and am only having the "https" transport sender . I see that the request comes in fine
into the service, however i get a NullPointer at the time the response is to be sent..Why
is that?  What if i just want to use HTTPS ?
> java.lang.NullPointerException
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
>         at org.apache.axis2.engine.AxisEngine.send(
>         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
>         at org.apache.axis2.engine.AxisEngine.receive(
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
>         at org.apache.axis2.transport.http.AxisServlet.doPost(
>         at javax.servlet.http.HttpServlet.service(
>      <transportSender name="local"
>                      class="org.apache.axis2.transport.local.LocalTransportSender"/>
>     <transportSender name="https"
>                      class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
>         <parameter name="PROTOCOL">HTTP/1.1</parameter>
>         <parameter name="Transfer-Encoding">chunked</parameter>
>     </transportSender> 
> knowing that 1.6 does not happen soon, it would be great if there could be a patch provided
to resolve this issue, it would not be easy for lot of them to upgrade versions very frequently.
can Axis2 commiter please provide a patch ASAP to resolve this ?
> Thanks,
> Vish

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message