users@jax-ws.java.net

Help on com.sun.tools.ws.ant.WsImport cannot be found

From: KURT KIRKHAM <kkirkham_at_salliemae.com>
Date: Thu, 12 Apr 2007 11:19:45 -0400

I am trying to learn NetBeans and JBOSS. I am following the examples on: http://www.netbeans.org/kb/55/websvc-jaxws-jboss.html

I am getting the following error: C:\Documents and Settings\kkirkham\WSCEJBModule\nbproject\build-impl.xml:240: taskdef class com.sun.tools.ws.ant.WsImport cannot be found
BUILD FAILED (total time: 0 seconds)

I have made many of the changes that I have found on the net and still have problems.

I have NetBeans: 5.5, JBoss 4.0.4.

I am on: Creating web service client in web module, step 3.

I changed the ant target per a web site as:

 <target name="wsimport-init" depends="init">
        <mkdir dir="${build.generated.dir}/wsimport/client"/>
        <mkdir dir="${build.generated.dir}/wsimport/binaries"/>
        <mkdir dir="${classes.dir}"/>
        <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
            <classpath path="${javac.classpath}"/>
        </taskdef>
    </target>

Any suggestions would be appreciated...

kurt...



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The nicest thing about not planning is that failure comes as a complete surprise and is not preceded by a period of worry and depression." - Sir John Harvey-Jones
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kurt Erik Kirkham
Sr. Technical Architect, Sallie Mae
kkirkham_at_salliemae.com
Work: (317) 595-1576
Cell: (317) 496-1697