• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.


 
Grow a forest with seedballs and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic