Did you try creating a configuration with pid
`org.apache.aries.jax.rs.whiteboard.default` and setting the property
there? Those properties of the default whiteboard will be inherited by that
servlet.

(A nice way is with configurator.)

- Ray

On Fri, Jan 10, 2020 at 1:15 PM Markus Rathgeb <maggu2...@gmail.com> wrote:

> Hi,
>
> I am currently migrate an existing code base to the JAX-RS Whiteboard.
> I did it already a few times but currently I am really stuck.
>
> I already read the involved code base but I cannot find a solution...
>
> There is an existing REST endpoint "services" that needs to be migrated.
> But I cannot access that REST endpoint.
>
> If I access "/services" CXF provides its own response.
> I identified that class:
> https://github.com/apache/cxf/blob/cxf-3.2.5/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletController.java
>
> All I need to do (it sounds such easy) is to set the init parameter of the
> servlet context with name "hide-service-list-page" to "false".
> But I did not found any way to to it.
>
> So the question is rather simple:
> How can I use the rest endpoint "services" for a custom implementation
> with Aires' JAX-RS Whiteboard implementation?
>
> Please help
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)

Reply via email to