How to stop WSDL detail?

2019-08-19 16:58发布

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>

0条回答
登录 后发表回答