NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

RE: taskdef class com.sun.tools.ws.ant.WsImport cannot be found

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
michael
Posted via mailing list.





PostPosted: Wed May 06, 2009 11:17 am    Post subject: RE: taskdef class com.sun.tools.ws.ant.WsImport cannot be found Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo