Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service client creation error in netbeans 6.0

 
Mathew Lee
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9528
32
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic