Author: atsushi
Date: 2006-11-16 00:49:19 -0500 (Thu, 16 Nov 2006)
New Revision: 67973
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocolFactory.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerType.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderHandling.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderMapping.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerMethod.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocolFactory.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerType.cs
Removed:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpServerProtocol.cs
Modified:
trunk/mcs/class/System.Web.Services/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocol.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocol.cs
trunk/mcs/class/System.Web.Services/System.Web.Services.dll.sources
Log:
2006-11-16 Atsushi Enomoto <[EMAIL PROTECTED]>
* HttpServerProtocol.cs : removed old code.
* SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
added up-to-date ones.
* SoapHeaderHandling.cs, SoapHeaderMapping.cs,
ServerProtocolFactory.cs, SoapServerType.cs,
SoapServerProtocolFactory.cs, ServerType.cs,
SoapServerProtocol.cs, ServerProtocol.cs,
SoapServerMethod.cs :
Added stubs for 2.0 server protocol model. For now I don't spend
time on these ones but rather fill more important bits like
SOAP 1.2 support.
* System.Web.Services.dll.sources : added/removed/replaced 2.0 server
protocol classes in S.W.S.Protocols.
Modified: trunk/mcs/class/System.Web.Services/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web.Services/ChangeLog 2006-11-16 05:45:58 UTC
(rev 67972)
+++ trunk/mcs/class/System.Web.Services/ChangeLog 2006-11-16 05:49:19 UTC
(rev 67973)
@@ -1,3 +1,8 @@
+2006-11-16 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * System.Web.Services.dll.sources : added/removed/replaced 2.0 server
+ protocol classes in S.W.S.Protocols.
+
2006-11-15 Atsushi Enomoto <[EMAIL PROTECTED]>
* System.Web.Services_test.dll.sources : added WebReferenceTest.cs.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
2006-11-16 05:45:58 UTC (rev 67972)
+++ trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
2006-11-16 05:49:19 UTC (rev 67973)
@@ -1,3 +1,17 @@
+2006-11-16 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * HttpServerProtocol.cs : removed old code.
+ * SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
+ added up-to-date ones.
+ * SoapHeaderHandling.cs, SoapHeaderMapping.cs,
+ ServerProtocolFactory.cs, SoapServerType.cs,
+ SoapServerProtocolFactory.cs, ServerType.cs,
+ SoapServerProtocol.cs, ServerProtocol.cs,
+ SoapServerMethod.cs :
+ Added stubs for 2.0 server protocol model. For now I don't spend
+ time on these ones but rather fill more important bits like
+ SOAP 1.2 support.
+
2006-11-15 Atsushi Enomoto <[EMAIL PROTECTED]>
* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
Deleted:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpServerProtocol.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpServerProtocol.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpServerProtocol.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -1,97 +0,0 @@
-//
-// System.Web.Services.Protocols.HttpServerProtocol.cs
-//
-// Author:
-// Tim Coleman ([EMAIL PROTECTED])
-//
-// Copyright (C) Tim Coleman, 2002
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System.IO;
-using System.Web.Services;
-
-namespace System.Web.Services.Protocols {
- [MonoTODO ("Figure out what this class does.")]
- internal abstract class HttpServerProtocol : ServerProtocol {
-
- #region Constructors
-
- [MonoTODO ("Is the bool parameter the one way?")]
- protected HttpServerProtocol (bool isOneWay)
- {
- throw new NotImplementedException ();
- }
-
- #endregion // Constructors
-
- #region Properties
-
- [MonoTODO]
- public override bool IsOneWay {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public override LogicalMethodInfo MethodInfo {
- get { throw new NotImplementedException (); }
- }
-
- #endregion // Properties
-
- #region Methods
-
- [MonoTODO]
- public static bool AreUrlParametersSupported (LogicalMethodInfo
methodInfo)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override bool Initialize ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override object[] ReadParameters ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override bool WriteException (Exception e, Stream
outputStream)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override void WriteReturns (object[] returnValues,
Stream outputStream)
- {
- //xmlReturnWriter.Write (Response, outputStream,
returnValue);
- throw new NotImplementedException ();
- }
-
- #endregion // Methods
- }
-}
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocol.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocol.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocol.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -1,11 +1,11 @@
-//
-// System.Web.Services.Protocols.ServerProtocol.cs
-//
-// Author:
-// Tim Coleman ([EMAIL PROTECTED])
-//
-// Copyright (C) Tim Coleman, 2002
-//
+//
+// ServerProtocol.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
//
// Permission is hereby granted, free of charge, to any person obtaining
@@ -27,110 +27,49 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
-using System.IO;
-using System.Web;
-using System.Web.Services;
-
-namespace System.Web.Services.Protocols {
- [MonoTODO ("Figure out what this class does.")]
- internal abstract class ServerProtocol {
-
- HttpContext _context;
-
- #region Constructors
-
- internal ServerProtocol (HttpContext context)
- {
- _context = context;
- }
-
- protected ServerProtocol ()
- {
- throw new NotImplementedException ();
- }
-
- #endregion
-
- #region Properties
-
- public HttpContext Context {
- get { return _context; }
- }
-
- public abstract bool IsOneWay {
- get;
- }
-
- public abstract LogicalMethodInfo MethodInfo {
- get;
- }
-
- [MonoTODO]
- public virtual Exception OnewayInitException {
- get { throw new NotImplementedException (); }
- }
-
- public HttpRequest Request {
- get { return _context.Request; }
- }
-
- public HttpResponse Response {
- get { return _context.Response; }
- }
-
- #endregion
-
- #region Methods
-
- [MonoTODO]
- protected void AddToCache (Type t1, Type t2, object o)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public virtual void CreateServerInstance ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public virtual void DisposeServerInstance ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public string GenerateFaultString (Exception exception)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected object GetFromCache (Type t1, Type t2)
- {
- throw new NotImplementedException ();
- }
-
- public abstract bool Initialize ();
-
- public abstract object[] ReadParameters ();
-
- [MonoTODO]
- public virtual bool WriteException (Exception e, Stream
outputStream)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void WriteOneWayResponse ()
- {
- throw new NotImplementedException ();
- }
-
- public abstract void WriteReturns (object[] returnValues,
Stream outputStream);
-
- #endregion
- }
+
+#if NET_2_0
+
+namespace System.Web.Services.Protocols
+{
+ public abstract class ServerProtocol
+ {
+ protected ServerProtocol ()
+ {
+ }
+
+ [MonoTODO]
+ protected HttpContext Context {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected HttpRequest Request {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected HttpResponse Response {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected virtual object Target {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected void AddToCache (Type protocolType, Type serverType,
object value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected object GetFromCache (Type protocolType, Type
serverType)
+ {
+ throw new NotImplementedException ();
+ }
+ }
}
+
+#endif
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocolFactory.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocolFactory.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocolFactory.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,45 @@
+//
+// ServerProtocolFactory.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.Services.Protocols
+{
+ public abstract class ServerProtocolFactory
+ {
+ protected ServerProtocolFactory ()
+ {
+ }
+
+ protected abstract ServerProtocol CreateIfRequestCompatible
(HttpRequest request);
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerProtocolFactory.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerType.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerType.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerType.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,43 @@
+//
+// ServerType.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.Services.Protocols
+{
+ public class ServerType
+ {
+ public ServerType (Type type)
+ {
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ServerType.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderHandling.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderHandling.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderHandling.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,117 @@
+//
+// SoapHeaderHandling.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Reflection;
+using System.Xml;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Protocols
+{
+ public sealed class SoapHeaderHandling
+ {
+ // static members
+
+ [MonoTODO]
+ public static void EnsureHeadersUnderstood
(SoapHeaderCollection headers)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void GetHeaderMembers (
+ SoapHeaderCollection headers,
+ object target,
+ SoapHeaderMapping [] mappings,
+ SoapHeaderDirection direction,
+ bool client)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void SetHeaderMembers (
+ SoapHeaderCollection headers,
+ object target,
+ SoapHeaderMapping [] mappings,
+ SoapHeaderDirection direction,
+ bool client)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void WriteHeaders (
+ XmlWriter writer,
+ XmlSerializer serializer,
+ SoapHeaderCollection headers,
+ SoapHeaderMapping [] mappings,
+ SoapHeaderDirection direction,
+ bool isEncoded,
+ string defaultNS,
+ bool serviceDefaultIsEncoded,
+ string envelopeNS)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void WriteUnknownHeaders (
+ XmlWriter writer,
+ SoapHeaderCollection headers,
+ string envelopeNS)
+ {
+ throw new NotImplementedException ();
+ }
+
+ // instance members
+
+ public SoapHeaderHandling ()
+ {
+ }
+
+ [MonoTODO]
+ public string ReadHeaders (
+ XmlReader reader,
+ XmlSerializer serializer,
+ SoapHeaderCollection headers,
+ SoapHeaderMapping [] mappings,
+ SoapHeaderDirection direction,
+ string envelopeNS,
+ string encodingStyle,
+ bool checkRequiredHeaders)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderHandling.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderMapping.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderMapping.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderMapping.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,70 @@
+//
+// SoapHeaderMapping.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Reflection;
+
+namespace System.Web.Services.Protocols
+{
+ public sealed class SoapHeaderMapping
+ {
+ internal SoapHeaderMapping ()
+ {
+ }
+
+ [MonoTODO]
+ public bool Custom {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SoapHeaderDirection Direction {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Type HeaderType {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public MemberInfo MemberInfo {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool Repeats {
+ get { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderMapping.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerMethod.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerMethod.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerMethod.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,119 @@
+//
+// SoapServerMethod.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Web.Services;
+using System.Web.Services.Description;
+using System.Xml;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Protocols
+{
+ public sealed class SoapServerMethod
+ {
+ public SoapServerMethod ()
+ {
+ }
+
+ [MonoTODO]
+ public SoapServerMethod (Type serverType, LogicalMethodInfo
methodInfo)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string Action {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SoapBindingUse BindingUse {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SoapHeaderMapping [] InHeaderMappings {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public XmlSerializer InHeaderSerializer {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public LogicalMethodInfo MethodInfo {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool OneWay {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SoapHeaderMapping [] OutHeaderMappings {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public XmlSerializer OutHeaderSerializer {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public XmlSerializer ParameterSerializer {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SoapParameterStyle ParameterStyle {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public XmlSerializer ReturnSerializer {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool Rpc {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public WsiProfiles WsiClaims {
+ get { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerMethod.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocol.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocol.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocol.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -1,11 +1,11 @@
-//
-// System.Web.Services.Protocols.SoapServerProtocol.cs
-//
-// Author:
-// Tim Coleman ([EMAIL PROTECTED])
-//
-// Copyright (C) Tim Coleman, 2002
-//
+//
+// SoapServerProtocol.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
//
// Permission is hereby granted, free of charge, to any person obtaining
@@ -27,64 +27,47 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
-using System.IO;
-using System.Web.Services;
-
-namespace System.Web.Services.Protocols {
- [MonoTODO ("Figure out what this class does.")]
- internal class SoapServerProtocol : ServerProtocol {
-
- #region Fields
-
- bool isOneWay;
-
- #endregion // Fields
-
- #region Properties
-
- public override bool IsOneWay {
- get { return isOneWay; }
- }
-
- [MonoTODO]
- public override LogicalMethodInfo MethodInfo {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public override Exception OnewayInitException {
- get { throw new NotImplementedException (); }
- }
-
- #endregion // Properties
-
- #region Methods
-
- [MonoTODO]
- public override bool Initialize ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override object[] ReadParameters ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override bool WriteException (Exception e, Stream
outputStream)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override void WriteReturns (object[] returnValues,
Stream outputStream)
- {
- throw new NotImplementedException ();
- }
-
- #endregion
- }
+
+#if NET_2_0
+
+using System.Web.Services.Configuration;
+using System.Xml;
+
+namespace System.Web.Services.Protocols
+{
+ public class SoapServerProtocol : ServerProtocol
+ {
+ protected SoapServerProtocol ()
+ {
+ }
+
+ [MonoTODO]
+ protected virtual XmlReader GetReaderForMessage (
+ SoapServerMessage message, int bufferSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual XmlWriter GetWriterForMessage (
+ SoapServerMessage message, int bufferSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual SoapExtension [] ModifyInitializedExtensions (
+ PriorityGroup group, SoapExtension [] extensions)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected virtual SoapServerMethod RouteRequest
(SoapServerMessage message)
+ {
+ throw new NotImplementedException ();
+ }
+ }
}
+
+#endif
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocolFactory.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocolFactory.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocolFactory.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,51 @@
+//
+// SoapServerProtocolFactory.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Web.Services.Configuration;
+
+namespace System.Web.Services.Protocols
+{
+ public class SoapServerProtocolFactory : ServerProtocolFactory
+ {
+ public SoapServerProtocolFactory ()
+ {
+ }
+
+ [MonoTODO]
+ protected override ServerProtocol CreateIfRequestCompatible
(HttpRequest request)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerProtocolFactory.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerType.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerType.cs
2006-11-16 05:45:58 UTC (rev 67972)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerType.cs
2006-11-16 05:49:19 UTC (rev 67973)
@@ -0,0 +1,74 @@
+//
+// SoapServerType.cs
+//
+// Author:
+// Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Web.Services.Configuration;
+
+namespace System.Web.Services.Protocols
+{
+ public sealed class SoapServerType : ServerType
+ {
+ [MonoTODO]
+ public SoapServerType (Type type, WebServiceProtocols
protocolsSupported)
+ : base (type)
+ {
+ }
+
+ [MonoTODO]
+ public SoapServerMethod GetDuplicateMethod (object key)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public SoapServerMethod GetMethod (object key)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool ServiceDefaultIsEncoded {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public string ServiceNamespace {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool ServiceRoutingOnSoapAction {
+ get { throw new NotImplementedException (); }
+ }
+ }
+}
+
+#endif
Property changes on:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapServerType.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/class/System.Web.Services/System.Web.Services.dll.sources
===================================================================
--- trunk/mcs/class/System.Web.Services/System.Web.Services.dll.sources
2006-11-16 05:45:58 UTC (rev 67972)
+++ trunk/mcs/class/System.Web.Services/System.Web.Services.dll.sources
2006-11-16 05:49:19 UTC (rev 67973)
@@ -132,7 +132,6 @@
System.Web.Services.Protocols/HttpMethodAttribute.cs
System.Web.Services.Protocols/HttpPostClientProtocol.cs
System.Web.Services.Protocols/HttpPostTypeStubInfo.cs
-System.Web.Services.Protocols/HttpServerProtocol.cs
System.Web.Services.Protocols/HttpSimpleClientProtocol.cs
System.Web.Services.Protocols/HttpSimpleTypeStubInfo.cs
System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs
@@ -152,6 +151,8 @@
System.Web.Services.Protocols/PatternMatcher.cs
System.Web.Services.Protocols/Soap12FaultCodes.cs
System.Web.Services.Protocols/ServerProtocol.cs
+System.Web.Services.Protocols/ServerProtocolFactory.cs
+System.Web.Services.Protocols/ServerType.cs
System.Web.Services.Protocols/SoapClientMessage.cs
System.Web.Services.Protocols/SoapClientMethod.cs
System.Web.Services.Protocols/SoapDocumentationHandler.cs
@@ -166,6 +167,8 @@
System.Web.Services.Protocols/SoapHeaderCollection.cs
System.Web.Services.Protocols/SoapHeaderDirection.cs
System.Web.Services.Protocols/SoapHeaderException.cs
+System.Web.Services.Protocols/SoapHeaderHandling.cs
+System.Web.Services.Protocols/SoapHeaderMapping.cs
System.Web.Services.Protocols/SoapHttpClientProtocol.cs
System.Web.Services.Protocols/SoapMessage.cs
System.Web.Services.Protocols/SoapMessageStage.cs
@@ -174,8 +177,11 @@
System.Web.Services.Protocols/SoapRpcMethodAttribute.cs
System.Web.Services.Protocols/SoapRpcServiceAttribute.cs
System.Web.Services.Protocols/SoapServerMessage.cs
+System.Web.Services.Protocols/SoapServerMethod.cs
System.Web.Services.Protocols/SoapServerProtocol.cs
+System.Web.Services.Protocols/SoapServerProtocolFactory.cs
System.Web.Services.Protocols/SoapServiceRoutingStyle.cs
+System.Web.Services.Protocols/SoapServerType.cs
System.Web.Services.Protocols/SoapUnknownHeader.cs
System.Web.Services.Protocols/TextReturnReader.cs
System.Web.Services.Protocols/TypeStubManager.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches