解决cxf Available SOAP services暴漏其他接口

<servlet>
      <servlet-name>CXFServlet</servlet-name>
      <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
     <init-param>
         <description>Hides the listing of available services when set to true.
            It is considered a security risk to set this to false (or leave it unset),
        because a container should never give more information to the client
        than is necessary to function properly.</description>
       <param-name>hide-service-list-page</param-name>
        <param-value>true</param-value>
      </init-param>
    </servlet>
    <servlet-mapping>
     <servlet-name>CXFServlet</servlet-name>
     <url-pattern>/services/*</url-pattern>
   </servlet-mapping>

你可能感兴趣的:(available)