ReflectionServiceFactoryBean creates the service twice
------------------------------------------------------
Key: JBWS-3191
URL:
https://issues.jboss.org/browse/JBWS-3191
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-cxf
Affects Versions: jbossws-cxf-3.4.1
Reporter: Frank Langelage
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
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira