That said I'm not sure if running two Spring applications in a single container is possible, may be not.

If so then I've no idea how to do it.

In general supporting more than one servlet per a single CXF application (JAXRS or JAXWS) seems reasonable.
May be we can support something like
cxf.path=/services,/api

Sergey

On 15/08/17 16:29, Sergey Beryozkin wrote:
I believe the way to do it is to create two SpringVoot applications with one having jaxws properties and another - jaxrs ones.

Sergey
On 15/08/17 15:58, David Karlsen wrote:
I want my co-existing services for JAXRS and JAXWS (e.g. same war) - to be
on separate context paths:
http://server:port/appcontext/api (jaxrs)
http://server:port/appcontext/services (jaxws)

Looking at

http://cxf.apache.org/docs/springboot.html#SpringBoot-SpringBootCXFJAX-RSStarter http://cxf.apache.org/docs/springboot.html#SpringBoot-SpringBootCXFJAX-WSStarter

this does not seem possible - as there is only one cxf servlet (and using
the same property cxf.path etc)

It seems the boot stuff is not really usable if you are to have JAXRS and
JAXWS services in the same app with distinct paths? Could they get distinct
properties / be able to tie a given set to a given servlet-instance?




Reply via email to