Pra*_*sav 1 java soap wsdl web-services cxf
我正在使用Apache CXF Framework,我在cxf-servlet.xml中指定了Restful以及Soap Webservice,在部署项目并通过url请求服务列表为htt:// SystemIP:8080/WebServicesExample/services /出现具有SOAP和REST服务的服务列表,有没有办法隐藏列表中列出的REST服务?
我自己做过......简单的事就是添加一个属性标签
<jaxrs:properties>
<entry key="org.apache.cxf.endpoint.private" value="true"/>
</jaxrs:properties>
Run Code Online (Sandbox Code Playgroud)
这也适用于JAX-WS服务.这必须添加到cxf-servlet.xml文件中
| 归档时间: |
|
| 查看次数: |
3020 次 |
| 最近记录: |