Hi,
I wrote a jax-ws web service. Now want stub for the client. So I used wsimport.
parsing WSDL...
[ERROR] sun.security.validator.ValidatorException: PKIX path building failed: su
n.security.provider.certpath.SunCertPathBuilderException: unable to find valid c
ertification path to requested target
Failed to read the WSDL document: https://localhost:9091/services/WebService?wsd
l, because 1) could not find the document; /2) the document could not be read; 3
) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
even when saved it as local I get:
[ERROR] Unable to parse "c:\WebService.xsd" : File name is not an URI. Illegal c
haracter in opaque part at index 2: c:\WebService.xsd
line 7 of file:/C:/WebService.wsdl
[ERROR] java.net.URISyntaxException: Illegal character in opaque part at index 2
: c:\WebService.xsd
line 4 of file:/C:/WebService.wsdl
Failed to parse the WSDL.