* 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.
svn path=/trunk/mcs/; revision=67973
+2006-11-16 Atsushi Enomoto <atsushi@ximian.com>
+
+ * System.Web.Services.dll.sources : added/removed/replaced 2.0 server
+ protocol classes in S.W.S.Protocols.
+
2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.Services_test.dll.sources : added WebReferenceTest.cs.
+2006-11-16 Atsushi Enomoto <atsushi@ximian.com>
+
+ * 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 <atsushi@ximian.com>
* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
+++ /dev/null
-// \r
-// System.Web.Services.Protocols.HttpServerProtocol.cs\r
-//\r
-// Author:\r
-// Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
-
-//
-// 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.
-//
-\r
-using System.IO;\r
-using System.Web.Services;\r
-\r
-namespace System.Web.Services.Protocols {\r
- [MonoTODO ("Figure out what this class does.")]\r
- internal abstract class HttpServerProtocol : ServerProtocol {\r
-\r
- #region Constructors\r
-\r
- [MonoTODO ("Is the bool parameter the one way?")]\r
- protected HttpServerProtocol (bool isOneWay)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- #endregion // Constructors\r
-\r
- #region Properties\r
-\r
- [MonoTODO]\r
- public override bool IsOneWay {\r
- get { throw new NotImplementedException (); }\r
- }\r
-\r
- [MonoTODO]\r
- public override LogicalMethodInfo MethodInfo {\r
- get { throw new NotImplementedException (); }\r
- }\r
-\r
- #endregion // Properties\r
-\r
- #region Methods\r
-\r
- [MonoTODO]\r
- public static bool AreUrlParametersSupported (LogicalMethodInfo methodInfo)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public override bool Initialize () \r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public override object[] ReadParameters ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
- \r
- [MonoTODO]\r
- public override bool WriteException (Exception e, Stream outputStream)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public override void WriteReturns (object[] returnValues, Stream outputStream)\r
- {\r
- //xmlReturnWriter.Write (Response, outputStream, returnValue);\r
- throw new NotImplementedException ();\r
- }\r
-\r
- #endregion // Methods\r
- }\r
-}\r
-// \r
-// System.Web.Services.Protocols.ServerProtocol.cs\r
-//\r
-// Author:\r
-// Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+//
+// ServerProtocol.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
//
// Permission is hereby granted, free of charge, to any person obtaining
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-\r
-using System.IO;\r
-using System.Web;\r
-using System.Web.Services;\r
-\r
-namespace System.Web.Services.Protocols {\r
- [MonoTODO ("Figure out what this class does.")]\r
- internal abstract class ServerProtocol {\r
-\r
- HttpContext _context;\r
-\r
- #region Constructors\r
-\r
- internal ServerProtocol (HttpContext context)\r
- {\r
- _context = context;\r
- }\r
-\r
- protected ServerProtocol ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- #endregion\r
-\r
- #region Properties\r
-\r
- public HttpContext Context {\r
- get { return _context; }\r
- }\r
-\r
- public abstract bool IsOneWay {\r
- get;\r
- }\r
-\r
- public abstract LogicalMethodInfo MethodInfo {\r
- get;\r
- }\r
-\r
- [MonoTODO]\r
- public virtual Exception OnewayInitException {\r
- get { throw new NotImplementedException (); }\r
- }\r
-\r
- public HttpRequest Request {\r
- get { return _context.Request; }\r
- }\r
-\r
- public HttpResponse Response {\r
- get { return _context.Response; }\r
- }\r
-\r
- #endregion\r
-\r
- #region Methods\r
-\r
- [MonoTODO]\r
- protected void AddToCache (Type t1, Type t2, object o)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public virtual void CreateServerInstance ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public virtual void DisposeServerInstance ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public string GenerateFaultString (Exception exception)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- protected object GetFromCache (Type t1, Type t2)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- public abstract bool Initialize ();\r
-\r
- public abstract object[] ReadParameters ();\r
-\r
- [MonoTODO]\r
- public virtual bool WriteException (Exception e, Stream outputStream)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public void WriteOneWayResponse ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- public abstract void WriteReturns (object[] returnValues, Stream outputStream);\r
-\r
- #endregion\r
- }\r
+
+#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
--- /dev/null
+//
+// ServerProtocolFactory.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
--- /dev/null
+//
+// ServerType.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
--- /dev/null
+//
+// SoapHeaderHandling.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
--- /dev/null
+//
+// SoapHeaderMapping.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
--- /dev/null
+//
+// SoapServerMethod.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
-// \r
-// System.Web.Services.Protocols.SoapServerProtocol.cs\r
-//\r
-// Author:\r
-// Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+//
+// SoapServerProtocol.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// Copyright (C) 2006 Novell, Inc.
+//
//
// Permission is hereby granted, free of charge, to any person obtaining
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-\r
-using System.IO;\r
-using System.Web.Services;\r
-\r
-namespace System.Web.Services.Protocols {\r
- [MonoTODO ("Figure out what this class does.")]\r
- internal class SoapServerProtocol : ServerProtocol {\r
-\r
- #region Fields\r
-\r
- bool isOneWay;\r
-\r
- #endregion // Fields\r
-\r
- #region Properties\r
-\r
- public override bool IsOneWay {\r
- get { return isOneWay; }\r
- }\r
-\r
- [MonoTODO]\r
- public override LogicalMethodInfo MethodInfo {\r
- get { throw new NotImplementedException (); }\r
- }\r
-\r
- [MonoTODO]\r
- public override Exception OnewayInitException {\r
- get { throw new NotImplementedException (); }\r
- }\r
-\r
- #endregion // Properties\r
-\r
- #region Methods\r
-\r
- [MonoTODO]\r
- public override bool Initialize ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- [MonoTODO]\r
- public override object[] ReadParameters ()\r
- {\r
- throw new NotImplementedException ();\r
- }\r
- \r
- [MonoTODO]\r
- public override bool WriteException (Exception e, Stream outputStream)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
- \r
- [MonoTODO]\r
- public override void WriteReturns (object[] returnValues, Stream outputStream)\r
- {\r
- throw new NotImplementedException ();\r
- }\r
-\r
- #endregion\r
- }\r
+
+#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
--- /dev/null
+//
+// SoapServerProtocolFactory.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
--- /dev/null
+//
+// SoapServerType.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// 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
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
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
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
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