是否可以在 WSO2 Enterprise Integrator 中禁用服务列表

Is it possible to disable service listing in WSO2 Enterprise Integrator

安装后好像是WSO2 Enterprise Integrator, by default when someone navigates to http://serverip:port/services/ all the deployed services (including those secured with a security policy) and their available operations are being listed. each service is then accessible by http://server:port/services/service_name?wsdl

是否可以为所有或至少为安全服务禁用此列表?也可以禁用 public 对安全服务的 wsdl 的访问吗?

我尝试将 <parameter name="disableServiceList">true</parameter> 添加到 axis2.xml 文件,但没有成功。

要禁用服务列表,您应该在nhttp.properties中设置以下属性。

http.block_service_list=true

更多信息,请参考:https://docs.wso2.com/display/ESB500/Tuning+the+HTTP+Transport

但是,不幸的是,如果服务 URL 已知,则无法停止访问服务的 wsdl。

对于?wsdl,有一种方法可以根据请求不显示wsdl:如果您保留代理,仅选择https选项并删除http,则不会为https显示wsdl调用,服务将使用 https 进行保护。