Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

jax-ws wsimport does not work

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic