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

willem Jiang commented on CXF-1143:
-----------------------------------

Hi Tawfik
I just built a kit with least trunk code and tested wsdl-first sample in the 
tomcat, the hide-service-list-page flag works perfectly .
Here is a part of the sample to show you how to set the flag
  
   <servlet>
        <servlet-name>cxf</servlet-name>
        <display-name>cxf</display-name>
        <description>Apache CXF Endpoint</description>
        
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
        <init-param> 
            <param-name>hide-service-list-page</param-name> 
            <param-value>true</param-value> 
       </init-param> 
       
    </servlet>

Willem.

> Default CXF behavior of listing all available endpoints
> -------------------------------------------------------
>
>                 Key: CXF-1143
>                 URL: https://issues.apache.org/jira/browse/CXF-1143
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Tawfik Lachheb
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> If I publish the cxf servlet as /cxf then going to http://my-host/cxf/ lists 
> all available endpoints.
> This is something we don't want to have in our production environment.  Is 
> there a way to disable this?
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to