-
Bug
-
Resolution: Done
-
Critical
-
jbossws-native-3.1.2
-
None
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)
- relates to
-
JBWS-2972 WSProvide tool throws WSExcepton for WebServiceProvider annotated endpoints
- Closed