Hi,
Thank you, that did it, jettison was on the classpath - I removed it and
now it works like a charm :).
So CXF Spring Boot also works with the Spring XML configuration, no need
to specify Jackson separately ( I already specified and associated it in
the Spring XML configuration).
This w
Hi
Oh, I thought SpringBoot made XML config a history :-)
I'll need to document it at CXF SpringBoot wiki page.
Can you give me a favor and double check that you have no Jettison
library somewhere on the classpath ? If it is available then CXF will
auto-create its own CXF JSONProvider which i
Sergey,
Thank you for the quick response!
I'm using cxf-spring-boot-starter-jaxrs 3.1.7 with Spring Boot
1.3.3.RELEASE.
You only have to add the XML using @ImportResource, then it is working
immediately:
@ImportResource({"classpath:/mySpringContext.xml"})
@EnableAutoConfiguration
public cl
Hi
To be honest I'm not sure traditional Spring XML configuration files are
even supported with Spring Boot ? (XML is the old citizen, properties is
the new citizen :-)), but if it is then let me know how.
Are you using CXF 3.1.7 Spring Boot starter ?
I think you need to have a @Bean method
I try to run a CXF JAX-RS endpoint using Spring XML configuration and
Spring Boot.
The services are listed correctly when I access the server and the
WADL/Swagger endpoint is generated correctly:
http://localhost:8080/services/
The API methods are annoted with:
@Consumes("application/jso