Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > NetBeans and Web Service issue

Reply
Thread Tools

NetBeans and Web Service issue

 
 
francan
Guest
Posts: n/a
 
      06-21-2010
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/te...es/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.
 
Reply With Quote
 
 
 
 
John B. Matthews
Guest
Posts: n/a
 
      06-22-2010
In article
<(E-Mail Removed)>,
francan <(E-Mail Removed)> 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>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
Eclipse vs. Netbeans. Netbeans is winning me over almost at first glance. Thomas G. Marshall Java 2 10-16-2006 02:54 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
[NETBEANS] [EVALUATION] - E12 - The NetBeans Open Source Lie Ilias Lazaridis Java 0 12-12-2004 02:41 PM
Building a GUI using NetBeans platform (not Netbeans IDE !) Pimousse Java 2 04-21-2004 07:22 AM



Advertisments