[ 
https://issues.apache.org/jira/browse/CXF-7230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244147#comment-16244147
 ] 

Sergey Beryozkin commented on CXF-7230:
---------------------------------------

Well this is only about hiding a link to the endpoint from the servlet services 
page.
If you'd like to make sure that a wadl query returns 404 then set 
WADLGenerator#ignoreRequests to true

> Unable to disable access to default wadl genearated by cxf
> ----------------------------------------------------------
>
>                 Key: CXF-7230
>                 URL: https://issues.apache.org/jira/browse/CXF-7230
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>         Environment: karaf 3.0.2
> cxf 2.7.13
>            Reporter: Rajakumar Munna
>            Assignee: Sergey Beryozkin
>              Labels: cxf, karaf
>             Fix For: 3.1.10, 3.0.13, 3.2.0
>
>
> When I access localhost:8181/cxf?_wadl, all the the endpoints are listed out. 
> I tried setting property org.apache.cxf.endpoint.private to true in 
> blueprint.xml, but still the cxf generated wadl file is accessible.Here is 
> the config
> <jaxrs:server id="edisc" address="/cxf">
>               <jaxrs:serviceBeans>
>                       <ref component-id="applicationWebService" />
>               </jaxrs:serviceBeans>
>               <jaxrs:providers>
>                       <ref component-id="jsonProvider" />     
>               </jaxrs:providers>
>               <jaxrs:properties>
>                       <entry key="org.apache.cxf.endpoint.private" 
> value="true" />
>               </jaxrs:properties>
>       </jaxrs:server>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to