I'm trying to associate an endpoint with a named cxf Bus but getting the 'Can't
find the request for Observer' error. The service works fine if no bus name is
specified in the endpoint. From the server output it appears the service is
found and loaded. I'm currently using cxf 2.5.1.
May 08, 2014 8:22:27 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service
{http://pingService.example.wmg.provider.service.wellsfargo.com/}PingSoapBindingImplService
from class
com.wellsfargo.service.provider.wmg.example.pingservice.PingPortType
May 08, 2014 8:22:28 AM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /ping
May 08, 2014 8:23:46 AM org.apache.cxf.transport.servlet.ServletController
invoke
WARNING: Can't find the the request for
http://localhost:7001/ExampleProject/services/ping's Observer
Here is the configuration -
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://cxf.apache.org/core"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<bean id="pingWebService"
class="com.wellsfargo.service.provider.wmg.example.pingService.PingSoapBindingImpl"/>
<cxf:bus name="server">
</cxf:bus>
<jaxws:endpoint bus="server" id="ping" implementor="#pingWebService"
address="/ping" />
</beans>