Mike, I think the problem is in your client code. I believe your creating a secure connection to the HTTPS end point by providing a keystore? Share your client code here.
/sumedha On Sat, Mar 27, 2010 at 11:01 PM, MDee <[email protected]> wrote: > > I'm having trouble getting Axis2 to work with SSL. In actuality, we are > using IIS as the web server and tomcat with Axis2 to handle web services > through Axis2 client. The isapi_redirector seems to be working fine in > having IIS as the front-end for tomcat. > > Over port 8080 everything works fine. Can access web service from browser > and Axis2 client. > > Over port 80 everything works fine. Can access web service from browser and > Axis2 client. IIS and tomcat seem to work fine with the isapi_redirector. > > With port 443 (or just using https), the browser can access the web service > but not the Axis2 client. We are using Java 5, Axis2-1.5.1, IIS 6, tomcat > 6.0.24. We have a real certificate (from cert authority GoDaddy) - not a > self signed cert. > > Doing the following works: > https://mydomain/axis2/services/MyWebServices?mymethod > > However the Axis2 client fails with the exception shown below. > > Been stuck on this for a few days. Any help would be great. > > Thanks, > Mike > > > > > org.apache.axis2.AxisFault: Read timed out > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203) > at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76) > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400) > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402) > at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > at .... > > > Caused by: java.net.SocketTimeoutException: Read timed out > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at > com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) > at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:739) > at > com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at > org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) > at > org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) > at > org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) > at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) > at > org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) > at > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)Mar > 27, 2010 09:47 [Thread-1] > ... > -- > View this message in context: > http://old.nabble.com/Axis2-with-SSL-gives-AxisFault-tp28053938p28053938.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
