[英]How to implement push-style RESTful webservice with Apache CXF?
[英]Hiding the Restful service from Webservice list(Apache CXF)
我正在使用Apache CXF Framework,其中在cxf-servlet.xml中指定了Restful以及Soap Webservice,在部署項目並通過htt:// SystemIP:8080 / WebServicesExample / services通過url請求服務列表之后/出現同時具有SOAP和REST服務的服務列表,是否有任何方法可以隱藏列表中列出的REST服務?
我自己完成的...簡單的事情是在
<jaxrs:properties>
<entry key="org.apache.cxf.endpoint.private" value="true"/>
</jaxrs:properties>
這也適用於JAX-WS服務。必須在cxf-servlet.xml文件中添加
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.