Hi,

 

I have Axis2 1.2 deployed as a part of web application on Tomcat 5.

Tomcat configuration have HTTP and HTTPS ports configured. 

The web services are accessible via HTTP and HTTPS. For HTTPS I'm using
self-signed cert in a store.

I can see the WSDL for HTTPS/HTTP in IE/FF also by using  SOAPSonar. 

When I configure the client URL to point to the HTTP port everything is OK.
But when I point to the HTTPS port I have the I get the following stack
trace:

 

.

.

.

 

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

                at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:221)

                at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)

                at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:330)

                at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
tion.java:294)

                at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)

                at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)

                at
com.prosrm.common.wsclient.axis2.RPCServiceClient.invokeBlocking(RPCServiceC
lient.java:114)

                at
com.prosrm.common.wsclient.WSClient.invoke(WSClient.java:128)

                ... 19 more

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

                at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:314)

                at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:201)

                ... 26 more

Caused by: org.apache.axis2.AxisFault: The server localhost failed to
respond with a valid HTTP response

                at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)

                at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)

                at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:305)

                ... 27 more

Caused by: org.apache.commons.httpclient.ProtocolException: The server
localhost failed to respond with a valid HTTP response

                at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
ava:1846)

                at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:1590)

                at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995
)

                at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:397)

                at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.java:170)

                at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

                at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

                at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTT
PSender.java:558)

                at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)

                ... 29 more

 

I  have the javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword
set up and I know that the certs are OK.

At this point, before start building/debugging AXIS2 code I would like to
know if any of you had the same problem.

 

Thanks in advance for any suggestion on how to resolve that.

 

Nick Popov

 

Reply via email to