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

a doubt in version with wsimport

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I run "wsimport", I get following error:



I was wondering why this tool needs something so latest which is not even used by JDK 6.
[ March 07, 2008: Message edited by: ankur rathi ]
 
ankur rathi
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BTW, I downloaded and tried with both the versions (2.1.3 and 2.1.2.1) of JAX-WS.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You must be running the wsimport that comes with JAX-WS 2.1.x. For example NetBeans 6.0 installs JAX-WS 2.1. So even if you initially didn't install JAX-WS 2.1 some of the other tools may have. To use JAX-WS 2.1 from the command line in a JDK 6 environment:

https://jax-ws.dev.java.net/nonav/2.1.3/docs/jaxws-tools.html#running_on_jdk6


Running on JDK6

  • Copy JAXWS_HOME/lib/jaxws-api.jar to JDK6_HOME/jre/lib/endorsed directory
  • Copy JAXWS_HOME/lib/jaxb-api.jar to JDK6_HOME/jre/lib/endorsed directory


  • See also: JAX-WS 2.1 and NetBeans
    [ March 07, 2008: Message edited by: Peer Reynders ]
     
    This tiny ad will self destruct in five seconds.
    Smokeless wood heat with a rocket mass heater
    https://woodheat.net
    reply
      Bookmark Topic Watch Topic
    • New Topic