Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

jax-ws wsimport does not work  RSS feed

 
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • 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.


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!