Hello everyone,

I am both new to Axis and new to this mailing list, so I apologize in
advance if my questions are simple or have been covered...

I am trying to use Axis 1.4 to develop a simple application that will test a
web service that is deployed on a private network. As a first step, I am
trying to generate stub code using the WSDL2Java tool.  Because the server
is https & uses an IP only, my command line resembles this:

java org.apache.axis.wsdl.WSDL2Java --username user --password pass
https://192.168.1.150:8443/example-ws/services/SimpleExample?wsdl

When I run this, I get the following exception:

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
<exception stack truncated>

Questions:

1. I assume that the reason this is happening is because the server is using
a self-signed certificate, and the JVM cannot validate it. Is this
assumption correct?

2. How can I get around this problem? (Note that I do not have
administrative access to the server, so making changes on that end is
probably not possible).

Thanks in advance for any help or references,
James

-- 
james a. cubeta

Reply via email to