[
https://jira.jboss.org/jira/browse/JBWS-2856?page=com.atlassian.jira.plug...
]
Alessio Soldano reopened JBWS-2856:
-----------------------------------
wsprovide.sh fails while processing webservice annotated with
@WebServiceProvider
---------------------------------------------------------------------------------
Key: JBWS-2856
URL:
https://jira.jboss.org/jira/browse/JBWS-2856
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: tools-jaxws
Affects Versions: jbossws-native-3.1.2
Environment: TCK jaxws 2.1 standalone, EAP 5.0.0.GA used as Vendor
Implementation
Reporter: Peter Skopek
Assignee: Peter Skopek
Priority: Critical
Fix For: jbossws-native-3.3.0
While generating artefacts for reverse tests I have found that wsprovide.sh fails while
processing webservice annotated with @WebServiceProvider.
See part of the log:
----------------------------------------------------------
Doing Java-to-WSDL generation using vendor specific tools
----------------------------------------------------------
Command invoked: org.jboss.wsf.spi.tools.cmd.WSProvide -k -o
/home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_classes
-r
/home/pskopek/tck5-jaxws/jaxwstck/src/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server
-s
/home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_sources
-t com.sun.ts.tests.jaxws.ee.j2w.document.literal.restful.server.TokensImpl
Output directory:
/home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_classes
Source directory:
/home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_sources
log4j:WARN No appenders could be found for logger
(org.jboss.wsf.framework.DefaultSPIProvider).
log4j:WARN Please initialize the log4j system properly.
Error: Could not generate. (use --show-traces to see full traces)
org.jboss.ws.WSException: Cannot obtain @WebService annotation from:
com.sun.ts.tests.jaxws.ee.j2w.document.literal.restful.server.TokensImpl
at
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:288)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:104)
at
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)
at
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)
at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)
at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira