How to stop WSDL detail?

故事扮演 提交于 2019-12-24 19:17:55

问题


I would like to configure my WebService enpoint to NOT to return the WSDL information using ?wsdl.

I have an Web Service application deployed on Wildfly.

The web service interface implemented using Apache CXF 3.1.6

I would like a way to configure my endpoint such that when the following is performed, the WSDL detail is not returned but just empty.

The WSDL detail can be read using

http://localhost:8080/me/myapp?wsdl

Is there a way to prevent the wsdl and service details from being returned.

Ideally there is some property that i can set inside the web service endpoint element like the way i configure to enable schema validation, for example:

<jaxws:endpoint.....>

    <entry key="schema-validation-enabled" value="true" /> 

<jaxws:endpoint>

来源:https://stackoverflow.com/questions/56295165/how-to-stop-wsdl-detail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!