These tutorials demonstrate selected features in ASP.NET version 2.0, but they are compatible with later versions of ASP.NET as well. For the current documentation, see the ASP.NET portal on the MSDN Web site.

 

 

   Welcome   |   ASP.NET   |   Web Services   |   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 � 2005 Microsoft Corporation. All rights reserved.