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

Secure Web Services via Message oriented Middleware

Rate me:
Please Sign up or sign in to vote.
4.96/5 (43 votes)
1 May 200372 min read 337.2K   821   198  
Describes an approach for delivery of Soap Messages serialised using ASP.NET Web Client Services over MSMQ and MQ
using System;
using System.Web.Services.Protocols;


namespace WSAltRouteTest
{
	// Public Enumerations


	/// <author>SGregory</author>
	/// <date>18 February 2002</date>
	/// <summary>Crypto internal wrapper class</summary>
	/// <remarks>
	/// This class is derived from the framework class, SoapExtensionAttribute
	///	which allows us to define an entry point for Soap Extensions at the
	///	method level.
	/// </remarks>
	[AttributeUsage(AttributeTargets.Method)]
	public class SoapMsgCaptureExtensionAttribute : SoapExtensionAttribute 
	{
		// Private member data
		private int priority;


		/// <author>SGregory</author>
		/// <date>18 February 2002</date>
		/// <summary>Return the type of Extension that supports this attribute</summary>
		/// <remarks>
		/// Indicates to the framework that the type to create is SoapMsgCaptureExtension
		/// </remarks>
		/// <returns type="Type">SoapMsgCaptureExtension</returns>
		/// <preconditions>N/a</preconditions>
		/// <postconditions>Type returned</postconditions>	    
		public override Type ExtensionType 
		{
			get { return typeof(SoapMsgCaptureExtension); }
		}


		/// <author>SGregory</author>
		/// <date>18 February 2002</date>
		/// <summary>Return the priority of the Extension</summary>
		/// <remarks>
		/// Indicates to the framework the priority of the Extension
		/// </remarks>
		/// <returns type="int">Priority</returns>
		/// <preconditions>N/a</preconditions>
		/// <postconditions>Priority returned</postconditions>	    
		public override int Priority 
		{
			get 
			{ 
				return priority; 
			}
			set 
			{ 
				priority = value; 
			}
		}
	}
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
I am the Technical Director for Myphones.com, which specialises in developing integrated VoIP products and services for the consumer and SME markets. Technology-wise, we are heavily into the 2nd generation WS stack atop .NET, and basically most things Microsoft, as well as C++ on Linux.

Comments and Discussions