wood burning stoves*
The moose likes Web Services and the fly likes How to speed up AXIS2 HTTPS/SSL connection? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to speed up AXIS2 HTTPS/SSL connection?" Watch "How to speed up AXIS2 HTTPS/SSL connection?" New topic
Author

How to speed up AXIS2 HTTPS/SSL connection?

Jim Smithian
Greenhorn

Joined: Sep 21, 2004
Posts: 18
Hi All
We have implemented a SOAP Web Services server and client using Java 1.6, Apache Axis 2 v1.3 and Tomcat 6. We have also implemented a client in C# and .NET. The http connection using Java is slower than .NET but still acceptable. The https/SSL connection using Java client is much slower than .NET and about 100 times slower than http (non-SLL) connection which is not acceptable!.

I'm wondering if there are ways to improve the https performance and whether there are configurable parameters in AXIS server or client which can improve https speed in Java clients. (e.g. less strong encryption in SSL).

We even replaced the Tomcat Java SSL library with native C library but it didn't help that much!

Based on the SSL logs, apparently axis uses shared SSL sessions, but still each SAOP operation takes more than 4 seconds.

Note that I don't specifically create HTTPS/SSL connections in my code. I use the AXIS2 libraries and the Java classes generated from the WSDL file using wsdl2java.

I'd appreciate your help.

Thanks
Steve Wu
Greenhorn

Joined: Nov 28, 2007
Posts: 4
Hi Jim,
I am using the same configuration as you are, using a java client SSL/HTTPS connection. When I use HTTPS connection I need to open a browser with a https url "https://localhost:8443/mytest/Services". If I don't I got a null pointer exception. Is there any initialization I need to do in Axis2 or in Tomcat to overcome this?
Appreciate any help.

Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to speed up AXIS2 HTTPS/SSL connection?
 
Similar Threads
2-way ssl not working: bad certificate
connect to a SOAP webservice using SSL
HTTPS connection using AXIS-2 and Tomcat is very very slow
Axis2 http Configuration problem
Problems communicating with a .NET webservice...