Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2856

wsprovide.sh fails while processing webservice annotated with @WebServiceProvider

    Details

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pskopek Peter Skopek
                  Reporter:
                  pskopek Peter Skopek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: