NetBeans and Web Service issue

Discussion in 'Java' started by francan, Jun 21, 2010.

  1. francan

    francan Guest

    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.
     
    francan, Jun 21, 2010
    #1
    1. Advertising

  2. In article
    <>,
    francan <> 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>
     
    John B. Matthews, Jun 22, 2010
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pimousse
    Replies:
    2
    Views:
    3,696
    Roedy Green
    Apr 21, 2004
  2. DM McGowan II
    Replies:
    1
    Views:
    480
    DM McGowan II
    Jun 7, 2004
  3. Ilias Lazaridis
    Replies:
    0
    Views:
    936
    Ilias Lazaridis
    Dec 12, 2004
  4. Thomas G. Marshall
    Replies:
    2
    Views:
    855
    Thomas G. Marshall
    Oct 16, 2006
  5. Leo Violette
    Replies:
    0
    Views:
    1,098
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page