I am an engineering student doing an internship. I must create a web service. It must:
- use HTTPS
- use Gzip in order to compress HTTPS data
- use SOAP/ WSDL
I've never developed a web service before. I have chosen Tomcat + Axis for developing this project.
My OS is Windows 7, I have installed Tomcat 6.0 and configured HTTPS, and it works fine when I try to access Tomcat with a browser. I also configured the server for Gzip compression.
Next, I tried to install Axis, so I downloaded axis1.5.4.war
and deployed it on the server. With my browser, I was able to access the Axis "welcome page" successfully, but when I clicked on "Validate," I got this:
There was a problem in Axis2 version service , may be the service not available or some thing has gone wrong. But this does not mean system is not working ! Try to upload some other service and check to see whether it is working. [sic]
To address this, I modified the Axis conf
file on my server per this documentation.
I got this on my Eclipse console:
[INFO] Unable to sendViaPost to url[https://localhost/axis2/services/Version] org.apache.axis2.AxisFault: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
How do I resolve this?