asp.net - how to remove an asmx endpoint? -


i had webservice .asmx endpoint deleted (iis 7) website time ago. there still thousands of old software clients calling server continually generating full page 404 error responses , wasting bandwidth.

what want return empty response - tried adding rewrite rule web.config file empty, "removed" response server returns full 405 error page with

"the request sent web server used http verb not allowed module configured handle request."

  • how can return empty response missing asmx web service request?

i think i've done using rewrite rule action type "abortrequest" - 502 error seems coming web browser , not server.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -