Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   |   Class Browser   
  |   I want my samples in...      

ASP.NET Web Services QuickStart Tutorial

Choose Protocol



ASP.NET Web Services now supports both the SOAP 1.1 and SOAP 1.2 protocols. By default, each protocol will have a binding in the wsdl produced for your service. To turn on or off SOAP 1.1 and SOAP 1.2, modify your config settings in either machine.config or web.config. Un-commenting the lines in the example below will turn off support for SOAP 1.1 or SOAP 1.2, respectively.

    <system.web>
		<webServices>
			<protocols>
				<!-- <remove name="HttpSoap"/> -->
				<!-- <remove name="HttpSoap1.2"/> -->
			</protocols>
		</webServices>
    </system.web>
VB Sample Caption
Run Sample View Source



Microsoft .NET Framework SDK QuickStart Tutorials Version 2.0
Copyright 2004 Microsoft Corporation. All rights reserved.