File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes web service client creation error in netbeans 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service client creation error in netbeans 6.0" Watch "web service client creation error in netbeans 6.0" New topic
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
Sheriff

Joined: Aug 03, 2008
Posts: 9302
    
  17

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web service client creation error in netbeans 6.0