6.4. Customizing the Service's WSDL
In Chapters 3 and 4, you learned about SOAP messages and WSDL documents. You saw examples of WSDL and learned how WSDL is used to specify a Web service's interface. This section explains how you can control the auto-generated WSDL document and the service's SOAP messages to accommodate your requirements.
6.4.1. Disabling Protocols
By default, .NET lets you invoke Web services using HTTP GET, HTTP POST, and SOAP over HTTP. In fact, the auto-generated test page relies on HTTP GET to test the Web service. While supporting various protocols is a good thing for testing purposes, you might want to remove some of these protocols before you go into production. To remove HTTP GET and POST support from your Web service, ...