I did it myself ... The easiest way is to add a property tag in
<jaxrs:properties>
<entry key="org.apache.cxf.endpoint.private" value="true"/>
</jaxrs:properties>
This also applies to the JAX-WS service. This must be added to the cxf-servlet.xml file
source
share