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

ReflectionServiceFactoryBean creates the service twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • jbossws-cxf-3.4.1
    • jbossws-cxf
    • None

    Description

      Using the current JBoss-AS 6.0.SNAPSHOT with Apache CXF 2.3.1 and JBossWS-CXF 3.4.1 for each WebService call I see two "Creating Service" messages from CXF.
      This is probably not necessary / intended.

      I created a small project to reproduce this.
      Just copy the ear and war file from the build folder to the deploy folder of the current jboss instance.
      Access the index web page http://server:port/wsc/index.xhtml.
      On stdout/server.log of the jboss instance I get
      11:48:20,314 INFO [STDOUT] Begin
      11:48:20,316 INFO [STDOUT] Create Service
      11:48:20,327 INFO [STDOUT] Get Port
      11:48:20,331 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service

      {http://ws.test/}

      TranslationWS from WSDL: http://sb2000:8080/lafr/ws/TranslationWS?wsdl
      11:48:20,364 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service

      {http://ws.test/}

      TranslationWS from WSDL: http://sb2000:8080/lafr/ws/TranslationWS?wsdl
      11:48:20,385 INFO [STDOUT] End
      11:48:20,389 INFO [STDOUT] Call Method
      11:48:20,415 INFO [org.apache.cxf.transport.servlet.AbstractCXFServlet] Servlet transport factory already registered
      11:48:20,440 INFO [STDOUT] hohoho

      Attachments

        Activity

          People

            Unassigned Unassigned
            franklangelage Frank Langelage (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: