O$: Webservice consumer
Lou Picciano
loupicciano at comcast.net
Thu Jan 21 08:27:18 EST 2016
Jan,
Your Java certs may not be where you expect them to be. Typically, they'd be in $JAVA_HOME/lib/security/cacerts
You can also specify an off-the-reservation Trust Store with the -Djavax.net.ssl.trustStore setting.
And, you can test the chain with the SSLPoke function.
Lou Picciano
----- Original Message -----
From: "Jan Eskilsson" <janeskil1525 at gmail.com>
To: "OmnisDev List - English" <omnisdev-en at lists.omnis-dev.com>
Sent: Thursday, January 21, 2016 2:14:45 AM
Subject: O$: Webservice consumer
Hi All
I'm working on a project in Windows 10 using Studio 6.1.3 and jre1.8.0_66
where I need to connect to a webservice via https. If i download the WSDL
file I can generate the webservice client fine in Studio but I cant get the
connection working afterwards to the web service. I get the following error
in the client when I try to connect.
"Exception when calling service: sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target"
The certificates are added to cacerts but somehow they seem to be ignored.
Any ideas are most welcome !
Best Regards
Jan Eskilsson
--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
Please consider the environment before you print this email.
(1) The contents of this transmission are privileged and confidential and
intended solely for the use of the addressee. Any disclosure, distribution
or copying of the contents, other than by the addressee, is strictly
prohibited. If you receive this transmission in error, please notify us
immediately and destroy the material received.
(2) All incoming and outgoing emails and any attachments are subjected to a
virus scanner and are believed to be free of any virus, or any other defect
which might affect any computer or IT system into which they are received
and opened. Therefore, it is the responsibility of the recipient to ensure
that they are virus free and no responsibility is accepted by Jan Eskilsson
for any loss or damage arising in any way from receipt or use thereof.
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list