• 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

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 ]
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic