[jboss-user] [JBoss Web Services] - WSProvideTask issues
anand pushparaj
do-not-reply at jboss.com
Mon Jul 9 06:33:42 EDT 2012
anand pushparaj [https://community.jboss.org/people/anand-pushparaj] created the discussion
"WSProvideTask issues"
To view the discussion, visit: https://community.jboss.org/message/746894#746894
--------------------------------------------------------------
Hi All,
I am migrating an application in weblogic to JBoss 5.1.0. While doing so, I replaced the servicegen with wsprovide.
<path
id="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=
"true"
destdir=
"output"
resourcedestdir=
"out-resource"
sourcedestdir=
"out-resource"###
###
#
genwsdl=
"true"
verbose=
"true"
sei=
"org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl">
<classpath>
<pathelement path="${tests.output.dir}/classes/>
</wsprovide>
</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
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746894#746894]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120709/d8fe267c/attachment.html
More information about the jboss-user
mailing list