After creating a new ASP.NET Web Service I want it only to support HTTP-POST for incoming data. How can I force the WSDL to reflect that policy?
How should the WSDL for the clients look like to enable only HTTP-POST and disallow SOAP 1.1 and SOAP 1.2 in the WSDL?
The solution:
<system.web>
<webServices>
<protocols>
<clear />
<add name="HttpPost"/>
<add name="Documentation"/>
</protocols>
<conformanceWarnings>
<remove name='BasicProfile1_1'/>
</conformanceWarnings>
</webServices>
See this answer: Is it possible to restrict certain ASMX web service methods to GET or POST only?
Edit – more info
Have you tried this in your web.config?
This idea came to me after reading this documentation:
http://msdn.microsoft.com/en-us/library/ccbk8w5h(VS.85).aspx