I am using CXF webservice and everything is working perfectly. But as I am going to expose our webservice to public the wadl url is working from public. Anyone can see the wadl definition of our webservice.
How can we disable this definition.
e.g. the url for wadl is - http://localhost:8080/webservice/rest?_wadl
Try adding this to jaxrs:server
, this will hide the endpoint exposed by the jaxrs:server
address
<jaxrs:properties>
<entry key="org.apache.cxf.endpoint.private" value="true"/>
</jaxrs:properties>