Hi All,
I am migrating an application in weblogic to JBoss 5.1.0. While doing so, I replaced the servicegen with wsprovide.
<path
<fileset dir="C:/newjboss/jboss-5.1.0.GA/client" includes="jbossws-spi.jar" />
<fileset dir="C:/newjboss/jboss-5.1.0.GA/client" includes="*.jar" />
</path>
<taskdef
name="wsprovide" classname="org.jboss.wsf.spi.tools.ant.WSProvideTask" classpathref="wsprovide.path" />
<wsprovide
fork="false"
keep=
destdir=
resourcedestdir=
sourcedestdir=
genwsdl=
"true"
verbose= "true"
sei=
<classpath> <pathelement path="${tests.output.dir}/classes/>
</classpath>
However i get the below stack of errors :
[
wsprovide ] Generating from endpoint: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl [
wsprovide ] Output directory: C:\july5\Server\dist\chemselect [
wsprovide ] Source directory: C:\july5\Server\org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl [
wsprovide ] Generating WSDL:
BUILD FAILED C:\july5\Server\build.xml:190: org.jboss.ws.WSException
: Cannot obtain @WebService annotation from: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImp
Can anyone help me know where am going wrong or what i am missing.
Any how do we generate JBoss.xml for EJBDoclet? If that is not possible, what is the work around ?
Thank you.
Regards,
P.Anand
I added a lateste version of Jbossws-spi.jar. Now facing with this issue. C:\july5\Server\build.xml:196: java.lang.AbstractMethodError: org.jboss.wsf.spi.tools.WSContractProvider.setExtension(Z)V Total time: 1 second