I'm searching for a way to disable the WSDL publishing (?wsdl). Both Endpoint.publish and the container (Tomcat or Wildfly) should be stopped publishing the wsdl. I found a way to disable the status page on Tomcat/Wildfly via com.sun.xml.ws.server.http.publishStatusPage
but no way to disable the wsdl. The property com.sun.xml.ws.server.http.publishWSDL
doesnt work.
How can i disable the publishing of the wsdl?
best regards,
I've done this by adding a new WSDLFilter to my own security filter chain. If someone is interessted in the filter, please contact me.