Hi I'm using cxf 3.1.10, I'm just using it for rest but it appears soap
services are being started anyways, does anyone know how to disable those
services?
Here's the output from my server starting showing some soap/wsdl related
items :
09-Mar-2017 15:23:55.605 INFO [localhost-startStop-1]
org.apache.cxf.endpoint.ServerImpl.initDestination Setting the server's
publish address to be /
09-Mar-2017 15:23:56.017 INFO [localhost-startStop-1]
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL
Creating Service {
http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}Discovery from WSDL:
classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl
09-Mar-2017 15:23:56.598 INFO [localhost-startStop-1]
org.apache.cxf.endpoint.ServerImpl.initDestination Setting the server's
publish address to be soap.udp://239.255.255.250:3702
09-Mar-2017 15:23:56.760 INFO [localhost-startStop-1]
org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass
Creating Service {
http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}DiscoveryProxy from
class org.apache.cxf.jaxws.support.DummyImpl
My web.xml as a servlet mapping
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/rs/*</url-pattern>
</servlet-mapping>
I use spring to configure cxf :
<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:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd
">
<jaxrs:server address="/" basePackages="xxxxxxxxx">
<jaxrs:features>
<cxf:logging />
</jaxrs:features>
<jaxrs:providers>
<bean
class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/>
</jaxrs:providers>
</jaxrs:server>
</beans>
That's all, I don't think I've explicitly referenced or initialised and
soap or wsdl services anyways.
Any ideas?
--
Ted.