I have a JaxWS WebService and I want the WebService URL to be available only for HTTP POST method.
What I understand after little bit googling and writing a sample code is that normally a JaxWS WebService can be invoked only through HTTP POST request. When I try HTTP GET request on the same URL I get HTTP (200 OK) response having links to all Endpoints/wsdl provided by the WebService.
I want to hide even the wsdl information from unknown client and on getting GET request I want to send "405 Method not Allowed" HTTP response to Client.
Please let me know if anyone has any details to share. I am using Glassfish application Server.