As I tried to put in the initial request - this is not an option.
Using old-style xml config it was quite straightforward as the context file
for the jaxws/jaxrs layer is given as an init-param to each servlet
instance.
Maybe if the auto-configuration could look for servlet beans with specific
names - and use these if given.

2017-08-15 17:29 GMT+02:00 Sergey Beryozkin <[email protected]>:

> 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-Spring
>> BootCXFJAX-RSStarter
>> http://cxf.apache.org/docs/springboot.html#SpringBoot-Spring
>> BootCXFJAX-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?
>>
>>
>>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to