NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
michael Posted via mailing list.
|
Posted: Wed May 06, 2009 11:17 am Post subject: RE: taskdef class com.sun.tools.ws.ant.WsImport cannot be found |
|
|
Workaround:
I was able to overcome this issue by using wsimport from the commandline, and then manually putting the generated sources into the project.
The actual webservice can be created by implementing the generated web service interface, and annotating the class with @WebService @Stateless.
Still, if anyone has any solution to the core problem (taskdef class com.sun.tools.ws.ant.WsImport cannot be found), I'd be very happy to hear.
Michael
-----Original Message-----
From: Michael Bar-Sinai
Sent: Tuesday, May 05, 2009 8:39 AM
To: 'address-removed'
Subject: taskdef class com.sun.tools.ws.ant.WsImport cannot be found
Hello all,
I'm trying to implement a web service using a WSDL file I got. When I right-click on the project, new->Web Service from WSDL and select the WSDL, I get the following error in the output pane:
init:
wsimport-init:
C:\Documents and Settings\michael\My Documents\NetBeansProjects\eBill\eBill\eBill-ejb\nbproject\jaxws-build.xml:30: taskdef class com.sun.tools.ws.ant.WsImport cannot be found
BUILD FAILED (total time: 0 seconds)
When I try to do this in a new project, using the same WSDL file, all works fine.
Does anyone know how to fix this?
Netbeans 6.7 beta, windows XP, java 6
Thanks in advance,
Michael |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|