2 // System.Web.Services.Protocols.SoapMessage.cs
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
7 // Copyright (C) Tim Coleman, 2002
\r
11 using System.Web.Services;
\r
13 namespace System.Web.Services.Protocols {
\r
14 public abstract class SoapMessage {
\r
19 SoapException exception;
\r
20 SoapHeaderCollection headers;
\r
21 SoapMessageStage stage;
\r
23 #endregion // Fields
\r
25 #region Constructors
\r
27 internal SoapMessage ()
\r
29 contentType = "text/xml";
\r
34 #endregion // Fields
\r
38 public abstract string Action {
\r
42 public string ContentType {
\r
43 get { return contentType; }
\r
44 set { contentType = value; }
\r
47 public SoapException Exception {
\r
48 get { return exception; }
\r
51 public SoapHeaderCollection Headers {
\r
52 get { return headers; }
\r
55 public abstract LogicalMethodInfo MethodInfo {
\r
59 public abstract bool OneWay {
\r
63 public SoapMessageStage Stage {
\r
64 get { return stage; }
\r
67 public Stream Stream {
\r
69 get { throw new NotImplementedException (); }
\r
72 public abstract string Url {
\r
76 #endregion Properties
\r
80 protected abstract void EnsureInStage ();
\r
81 protected abstract void EnsureOutStage ();
\r
84 protected void EnsureStage (SoapMessageStage stage)
\r
86 throw new NotImplementedException ();
\r
90 public object GetInParameterValue (int index)
\r
92 throw new NotImplementedException ();
\r
96 public object GetOutParameterValue (int index)
\r
98 throw new NotImplementedException ();
\r
102 public object GetReturnValue ()
\r
104 throw new NotImplementedException ();
\r
107 #endregion // Methods
\r