[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    [Mono-devel-list] the SoapMessage object
From:       Jean-Marc_André <jean-marc.andre () polymtl ! ca>
Date:       2003-05-27 20:30:20
Message-ID: 3ED3CADC.2010701 () polymtl ! ca
[Download RAW message or body]

Hello,

Here is an implementation for the 
System.Runtime.Serialization.Formatters.SoapMessage class 
(mcs/class/corlib/System.Runtime.Serialization.Formatters/SoapMessage.cs).
It's a basic class that contains only properties so if nobody objects, 
I'll commit it.

Jean-Marc

["SoapMessage.cs" (text/plain)]

//
// System.Runtime.Serialization.Formatters.SoapMessage.cs
//
// Author: Duncan Mak  (duncan@ximian.com)
// 	   Jean-Marc Andre (jean-marc.andre@polymtl.ca)	
//
// 2002 (C) Copyright, Ximian, Inc.
//

using System;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Serialization.Formatters;

namespace System.Runtime.Serialization.Formatters {

	[Serializable]
	public class SoapMessage : ISoapMessage
	{
		private Header[] _headers;
		private string _methodName;
		private string[] _paramNames;
		private Type[] _paramTypes;
		private object[] _paramValues;
		private string _xmlNameSpace;
		
		public SoapMessage ()
		{
		}

		public Header[] Headers {
			get { return _headers; }
			set { _headers = value; }
		}

		public string MethodName {
			get { return _methodName; }
			set { _methodName = value; }
		}

		public string [] ParamNames {
			get { return _paramNames; }
			set { _paramNames = value; }
		}

		public Type [] ParamTypes {
			get { return _paramTypes; }
			set { _paramTypes = value; }
		}

		public object [] ParamValues {
			get { return _paramValues; }
			set { _paramValues = value; }
		}

		public string XmlNameSpace {
			get { return _xmlNameSpace; }
			set { _xmlNameSpace = value; }
		}
	}
}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic