Moreover, the WSProvide documentation is not sync'ed with JBossWS 2.
Ant task package changed, it's org.jboss.wsf.spi.tools.ant.WSProvideTask instead of
org.jboss.ws.tools.jaxws.ant.wsprovide:
<target name="wsprovide">
| <taskdef name="wsprovide"
classname="org.jboss.wsf.spi.tools.ant.WSProvideTask">
| <classpath>
| <path id="jboss.class.path">
| <fileset dir="${jboss.dir}/client" includes="*.jar" />
| <fileset dir="${jboss.dir}/lib/endorsed" includes="*.jar"
/>
| </path>
| </classpath>
| </taskdef>
| <wsprovide fork="true" keep="true" verbose="true"
genwsdl="true" destdir="classes" resourcedestdir="jbossws"
sourcedestdir="jbossws"
sei="com.mycompany.myproject.MyWebService">
| <classpath refid="project.class.path" />
| </wsprovide>
| </target>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107598#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...