From: francan on
I am using NetBean 6.7 to build client service using Tomcat 6.1.20.
Everytime I attempt to build it gives me back the message:

You are running on JDK6 which comes with JAX-WS 2.0 API, but this tool
requires JAX-WS 2.1 API. Use the endorsed standards override mechanism
(http://java.sun.com/javase/6/docs/technotes/guides/standards/), or
set xendorsed="true" on <wsimport>.


Can I correct this issue without downloading anymore software and how
do I correct it?
I tried finding xendorsed in Tomcat and couldnt find it.

Please advise.
From: John B. Matthews on
In article
<936fc592-a3f6-461b-9125-47dd92977c2f(a)u7g2000yqm.googlegroups.com>,
francan <francan00(a)yahoo.com> wrote:

> I am using NetBean 6.7 to build client service using Tomcat 6.1.20.
> Everytime I attempt to build it gives me back the message:
>
> You are running on JDK6 which comes with JAX-WS 2.0 API, but this
> tool requires JAX-WS 2.1 API. Use the endorsed standards override
> mechanism
> <http://java.sun.com/javase/6/docs/technotes/guides/standards/>
> or set xendorsed="true" on <wsimport>.
>
> Can I correct this issue without downloading anymore software and how
> do I correct it? I tried finding xendorsed in Tomcat and couldnt find
> it.

I'm guessing you'll need a newer JAX-WS JAR. You can examine the system
property java.endorsed.dirs to find a suitable platform-specific
location:

<http://java.sun.com/javase/6/docs/api/java/lang/System.html>

The <wsimport> alternative appears to refer to an ant task that
generates JAX-WS portable artifacts:

<http://java.sun.com/javase/6/docs/technotes/tools/share/wsimport.html>

See also <http://forums.java.net/jive/thread.jspa?threadID=75975>.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>