Click here to Skip to main content
15,894,460 members
Articles / Web Development / ASP.NET

Authenticate .NET Web Service with Custom SOAP Header

Rate me:
Please Sign up or sign in to vote.
4.32/5 (28 votes)
29 Jun 2008CPOL2 min read 277.6K   7.8K   91  
How to authenticate .NET web service with custom SOAP Header

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "http://localhost/Testing/WebServices/", "http://localhost/Testing/WebServices", "{B6D60E79-472E-4B57-9C23-9CE8CCD14601}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.VirtualPath = "/WebServices"
		Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\inetpub\wwwroot\Testing\WebServices\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\WebServices\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/WebServices"
		Release.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\inetpub\wwwroot\Testing\WebServices\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\WebServices\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		SlnRelativePath = "..\..\..\..\..\..\inetpub\wwwroot\Testing\WebServices\"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Consumer", "Consumer\Consumer.csproj", "{402B0A61-9ECA-41EC-8557-D46B3586D9F7}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Debug|.NET.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Debug|.NET.Build.0 = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Release|.NET.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Release|.NET.Build.0 = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Release|Any CPU.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{B6D60E79-472E-4B57-9C23-9CE8CCD14601}.Release|Mixed Platforms.Build.0 = Debug|.NET
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Release|.NET.ActiveCfg = Release|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Release|Any CPU.Build.0 = Release|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{402B0A61-9ECA-41EC-8557-D46B3586D9F7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect INC Technologies
Kuwait Kuwait
+7 years of experience in designing and implementing Microsoft Based Solutions.
+5 years of experience in SharePoint implementations from MCMS 2002 to the latest version.
+3 years of experience as presales and technology advisory.
Strong analytic, design and client facing skills.
Strong record in consultation and presales with associated Gulf business understanding and market analysis.
Worked closely with Microsoft Kuwait & Qatar Offices SSPs, PTAs, PAMs and SAMs.
Extensive experience in BizTalk Server 2009, SSAS, PerformancePoint Services and Excel Services.
Active member in the Virtual Technology Specialist and Customer Immersion Experience programs.
Strong record in team leading and projects supervision.

Comments and Discussions