This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Testing 5.5 RC2 When I create, with the NB GUI, in a J2SE project, a WS Client from a WSDL URL, everything works OK When I create a WS Client, with the same WSDL URL, from within an EJB JEE5 Module, I get the following error: init; wsimport-init: PRJPATH/My-ejb/nbproject/build-impl.xml:224: taskdef class com.sun.tools.ws.ant.WsImport cannot be found BUILD FAILED (total time: 0 seconds)
Which target server do you use?
I use JBoss 4.0.4GA
Add JAX-WS 2.0 and JAXB 2.0 libraries to your project, it should work then.
Helas not... I added the JAXWS 2.0 and the JAXB 2.0 libraries to the project, but without any success. When I deploy to SJAS9 aka Glassfish, it works OK, but I need it to work with JBoss
well, so add also following target to your project's build.xml: <target name="-post-init"> <property name="j2ee.platform.wsimport.classpath" value="${javac.classpath}"/> </target>
*** This issue has been marked as a duplicate of 90381 ***