Add the following to your servlet configuration in web.xml:

<init-param>
  <param-name>hide-service-list-page</param-name>
  <param-value>true</param-value>
 </init-param>

Colm.



On Tue, Apr 17, 2018 at 3:48 PM, Lange Gunter (ID SWS) <
[email protected]> wrote:

> We are using Tomcat.
>
> -----Original Message-----
> From: James Carman <[email protected]>
> Sent: Dienstag, 17. April 2018 16:26
> To: [email protected]
> Subject: Re: CXF - Service list
>
> What platform are you using to run your services?  OSGi/Tomcat/etc?
>
> On Tue, Apr 17, 2018 at 10:05 AM Lange Gunter (ID SWS) <
> [email protected]> wrote:
>
> > Hello
> >
> > I have to migrate a Restful API. The API was written in Perl.
> >
> > I decided to use Apache CXF jax-rs and I am running into difficulties
> > to migrate an endpoint of the following format
> >
> > http://.../services
> >
> > The endpoint ends with "services"
> >
> > This endpoint triggers a "CXF - Service list" HTML response.
> >
> > I'm unable to intercept this request.
> >
> > Is there a way to disable the production of the "CXF - Service list"?
> > And instead handle "services" as a normal path parameter?
> >
> > Thank you in advance
> > Gunter
> >
> >
> >
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to