axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james a. cubeta" <james.cub...@gmail.com>
Subject Newbie wsdl2java question...
Date Thu, 18 Sep 2008 21:09:44 GMT
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

Mime
View raw message