| Author |
web service client creation error in netbeans 6.0
|
Mathew Lee
Ranch Hand
Joined: Jun 08, 2009
Posts: 238
|
|
Hi,
i have created the webservive ejb statelession session bean server side stubs, wsdl files etc and tested successfully as well by right clicking from same project folder. Later i am creating new webservice client web project separately to test the earlier created web service and getting errors like
init:
wsimport-init:
Created dir: D:\Documents and Settings\GANESHA\My Documents\NetBeansProjects\WebApplication10\build\generated\wsimport\binaries
wsimport-client-check-NewSessionBean:
wsimport-client-NewSessionBean:
D:\Documents and Settings\GANESHA\My Documents\NetBeansProjects\WebApplication10\nbproject\jaxws-build.xml:24: 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>.
BUILD FAILED (total time: 0 seconds)
Any links, ideas, suggestion to resolve above issue highly appreciated. Thanks in advance
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
Support for JAX-WS 2.1 has been added to updates of JDK 6. You can download latest version of JDK to make it work. The other way is to use an endorsed override mechanism (which I have no idea about). More details here...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
 |
|
|
subject: web service client creation error in netbeans 6.0
|
|
|