My Oracle Support Banner

Clientgen fails to Connect To wsdl url Over https when using JAX-WS WebService (Doc ID 1119478.1)

Last updated on APRIL 04, 2018

Applies to:

Oracle Weblogic Server - Version: 10.0 to 10.3.1
Information in this document applies to any platform.


when trying to generate client stubs using clientgen ant Task as stated below.

<taskdef name="clientgen" classname="" />
<target name="build-client">
<mkdir dir="dotnet/client/helloworld"/>
debug="on" verbose="on">
<sysproperty key="" value="C:\bea\wlproduct103\wlserver_10.3\server\lib\DemoTrust.jks"/>
<sysproperty key="weblogic.wsee.client.ssl.stricthostchecking" value="false"/>
<sysproperty key="" value="JKS"/>

It fails with below exception.

[clientgen] parsing WSDL...

[clientgen] [ERROR] PKIX path building failed: unable to find valid certification path to requested target


Changed webservice type from JAX-RPC to JAX-WS


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.