Question : Error in geenerating webservices client

Hi,

I am using netbeans IDE 6.7.1 and generated the server side stubs, project successfully and was able to test the webservice sucessfully, generated wsdl file as well for some helloworld method within a helloworld class.

When i am creating another webproject ie webservice client project to call above web service through jax-ws method getting following error as

init:
wsimport-init:
Created dir: D:\Documents and Settings\GANESHA\My Documents\NetBeansProjects\WebApplication2\build\generated-sources\jax-ws
wsimport-client-TestWsService:
Created dir: D:\Documents and Settings\GANESHA\My Documents\NetBeansProjects\WebApplication2\build\generated\jax-wsCache\TestWsService
D:\Documents and Settings\GANESHA\My Documents\NetBeansProjects\WebApplication2\nbproject\jaxws-build.xml:19: 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 .
BUILD FAILED (total time: 0 seconds)


When i did same process on other machine which has Netbeans 6.5 webservice client  and all worked fine.
Nor sure where the exact issue is. Any ideas, links, resources, highly appreciated. Thankss in advance.

Answer : Error in geenerating webservices client

looks like the two boxes may have different versions of Java and JAX-WS
Random Solutions  
 
programming4us programming4us