aspose file tools*
The moose likes Web Services and the fly likes jax-ws wsimport does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "jax-ws wsimport does not work" Watch "jax-ws wsimport does not work" New topic
Author

jax-ws wsimport does not work

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jax-ws wsimport does not work