NetBeans and Web Service issue

F

francan

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.
 
J

John B. Matthews

francan said:
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>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top