Message headers are now serialized and deserialized for MessageHeaderDescription.
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / SoapHeaderHandling.cs
1 // 
2 // SoapHeaderHandling.cs
3 //
4 // Author:
5 //   Atsushi Enomoto  <atsushi@ximian.com>
6 //
7 // Copyright (C) 2006 Novell, Inc.
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 #if NET_2_0
32
33 using System.Reflection;
34 using System.Xml;
35 using System.Xml.Serialization;
36
37 namespace System.Web.Services.Protocols
38 {
39         public sealed class SoapHeaderHandling
40         {
41                 // static members
42
43                 [MonoTODO]
44                 public static void EnsureHeadersUnderstood (SoapHeaderCollection headers)
45                 {
46                         throw new NotImplementedException ();
47                 }
48
49                 [MonoTODO]
50                 public static void GetHeaderMembers (
51                         SoapHeaderCollection headers,
52                         object target,
53                         SoapHeaderMapping [] mappings,
54                         SoapHeaderDirection direction,
55                         bool client)
56                 {
57                         throw new NotImplementedException ();
58                 }
59
60                 [MonoTODO]
61                 public static void SetHeaderMembers (
62                         SoapHeaderCollection headers,
63                         object target,
64                         SoapHeaderMapping [] mappings,
65                         SoapHeaderDirection direction,
66                         bool client)
67                 {
68                         throw new NotImplementedException ();
69                 }
70
71                 [MonoTODO]
72                 public static void WriteHeaders (
73                         XmlWriter writer,
74                         XmlSerializer serializer,
75                         SoapHeaderCollection headers,
76                         SoapHeaderMapping [] mappings,
77                         SoapHeaderDirection direction,
78                         bool isEncoded,
79                         string defaultNS,
80                         bool serviceDefaultIsEncoded,
81                         string envelopeNS)
82                 {
83                         throw new NotImplementedException ();
84                 }
85
86                 [MonoTODO]
87                 public static void WriteUnknownHeaders (
88                         XmlWriter writer,
89                         SoapHeaderCollection headers,
90                         string envelopeNS)
91                 {
92                         throw new NotImplementedException ();
93                 }
94
95                 // instance members
96
97                 public SoapHeaderHandling ()
98                 {
99                 }
100
101                 [MonoTODO]
102                 public string ReadHeaders (
103                         XmlReader reader,
104                         XmlSerializer serializer,
105                         SoapHeaderCollection headers,
106                         SoapHeaderMapping [] mappings,
107                         SoapHeaderDirection direction,
108                         string envelopeNS,
109                         string encodingStyle,
110                         bool checkRequiredHeaders)
111                 {
112                         throw new NotImplementedException ();
113                 }
114         }
115 }
116
117 #endif