users@jax-ws.java.net

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

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Thu, 12 Apr 2007 16:03:04 -0700

JAX-WS 2.1.1 goes integrated with Glassfish v2. If you are using Jboss,
you need to put JAXWS 2.1.1 jars inthe classpath.

-vivek.

KURT KIRKHAM wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>