+2004-07-10 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * HttpSimpleClientProtocol.cs, HttpWebClientProtocol.cs,
+ SoapClientMessage.cs, SoapHttpClientProtocol.cs, SoapServerMessage.cs:
+ Added 2.0 stubs.
+ * SoapException.cs, SoapHeader.cs, SoapHeaderException.cs, SoapMessage.cs,
+ SoapRpcMethodAttribute.cs, SoapRpcServiceAttribute.cs: Implemented some
+ new methods and properties.
+ * WebClientProtocol.cs: uri field must be internal.
+
2004-07-05 Lluis Sanchez Gual <lluis@ximian.com>
* Methods.cs: When using RPC, ignore RequestElementName and MessageName,
using System.Web.Services;\r
using System.Net;\r
using System.IO;\r
+using System.Threading;\r
\r
namespace System.Web.Services.Protocols {\r
public abstract class HttpSimpleClientProtocol : HttpWebClientProtocol {\r
return returnReader.Read (response, response.GetResponseStream ());\r
}\r
\r
+#if NET_2_0\r
+\r
+ [MonoTODO]\r
+ protected void InvokeAsync (string methodName, string requestUrl, object[] parameters, SendOrPostCallback callback)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected void InvokeAsync (string methodName, string requestUrl, object[] parameters, SendOrPostCallback callback, object userState)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+#endif\r
+ \r
#endregion // Methods\r
}\r
\r
using System.Security.Cryptography.X509Certificates;\r
using System.Threading;\r
using System.Web.Services;\r
+using System.Collections;\r
\r
namespace System.Web.Services.Protocols {\r
public abstract class HttpWebClientProtocol : WebClientProtocol {\r
\r
return response;\r
}\r
+ \r
+#if NET_2_0\r
+\r
+ [MonoTODO]\r
+ protected void CancelAsync (object userState)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ public static Hashtable GenerateXmlMappings (Type type, ArrayList mapping)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ public static Hashtable GenerateXmlMappings (Type[] types, ArrayList mapping)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+#endif\r
\r
#endregion // Methods\r
}\r
--- /dev/null
+//
+// System.Web.Services.Protocols.InvokeCompletedEventArgs.cs
+//
+// Author:
+// Lluis Sanchez (lluis@novell.com)
+//
+// Copyright (C) Novell, Inc., 2004
+//
+
+//
+// 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.ComponentModel;
+
+namespace System.Web.Services.Protocols
+{
+ [MonoTODO]
+ public class InvokeCompletedEventArgs : AsyncCompletedEventArgs
+ {
+ object[] _results;
+
+ internal InvokeCompletedEventArgs ()
+ : base (null, false, null)
+ {
+ }
+
+ public object[] Results {
+ get { return _results; }
+ }
+
+ }
+}
+
+#endif
--- /dev/null
+//
+// System.Web.Services.Protocols.InvokeCompletedEventHandler.cs
+//
+// Author:
+// Lluis Sanchez (lluis@novell.com)
+//
+// Copyright (C) Novell, Inc., 2004
+//
+
+//
+// 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 delegate void InvokeCompletedEventHandler (
+ object sender,
+ InvokeCompletedEventArgs e
+ );
+}
+
+#endif
--- /dev/null
+//
+// System.Web.Services.Protocols.Soap12FaultCodes.cs
+//
+// Author:
+// Lluis Sanchez (lluis@novell.com)
+//
+// Copyright (C) Novell, Inc., 2004
+//
+
+//
+// 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.Xml;
+
+namespace System.Web.Services.Protocols
+{
+ public sealed class Soap12FaultCodes
+ {
+ public static readonly XmlQualifiedName DataEncodingUnknownFaultCode
+ = new XmlQualifiedName ("DataEncodingUnknown", "http://www.w3.org/2003/05/soap-envelope");
+
+ public static readonly XmlQualifiedName EncodingMissingIDFaultCode
+ = new XmlQualifiedName ("MissingID", "http://www.w3.org/2003/05/soap-encoding");
+
+ public static readonly XmlQualifiedName EncodingUntypedValueFaultCode
+ = new XmlQualifiedName ("UntypedValue", "http://www.w3.org/2003/05/soap-encoding");
+
+ public static readonly XmlQualifiedName MustUnderstandFaultCode
+ = new XmlQualifiedName ("MustUnderstand", "http://www.w3.org/2003/05/soap-envelope");
+
+ public static readonly XmlQualifiedName ReceiverFaultCode
+ = new XmlQualifiedName ("Receiver", "http://www.w3.org/2003/05/soap-envelope");
+
+ public static readonly XmlQualifiedName RpcBadArgumentsFaultCode
+ = new XmlQualifiedName ("BadArguments", "http://www.w3.org/2003/05/soap-rpc");
+
+ public static readonly XmlQualifiedName RpcProcedureNotPresentFaultCode
+ = new XmlQualifiedName ("ProcedureNotPresent", "http://www.w3.org/2003/05/soap-rpc");
+
+ public static readonly XmlQualifiedName SenderFaultCode
+ = new XmlQualifiedName ("Sender", "http://www.w3.org/2003/05/soap-envelope");
+
+ public static readonly XmlQualifiedName VersionMismatchFaultCode
+ = new XmlQualifiedName ("VersionMismatch", "http://www.w3.org/2003/05/soap-envelope");
+ }
+}
+
+#endif
public override string Url {\r
get { return url; }\r
}\r
+ \r
+#if NET_2_0\r
+ [MonoTODO]\r
+ public override SoapProtocolVersion SoapVersion {\r
+ get { throw new NotImplementedException (); }\r
+ }\r
+#endif\r
\r
#endregion // Properties\r
\r
//\r
// Author:\r
// Tim Coleman (tim@timcoleman.com)\r
+// Lluis Sanchez Gual (lluis@novell.com)\r
//\r
// Copyright (C) Tim Coleman, 2002\r
//\r
\r
using System.Xml;\r
\r
-namespace System.Web.Services.Protocols {\r
- public class SoapException : SystemException {\r
-\r
+namespace System.Web.Services.Protocols \r
+{\r
+ [Serializable]\r
+ public class SoapException : SystemException \r
+ {\r
#region Fields\r
\r
public static readonly XmlQualifiedName ClientFaultCode = new XmlQualifiedName ("Client", "http://schemas.xmlsoap.org/soap/envelope/");\r
string actor;\r
XmlQualifiedName code;\r
XmlNode detail;\r
-\r
+ \r
+#if NET_2_0\r
+ string lang;\r
+ string role;\r
+ SoapFaultSubcode subcode;\r
+#endif\r
#endregion\r
\r
#region Constructors\r
this.detail = detail;\r
}\r
\r
+#if NET_2_0\r
+ public SoapException (string message, XmlQualifiedName code, SoapFaultSubcode subcode)\r
+ : base (message)\r
+ {\r
+ this.code = code;\r
+ this.subcode = subcode;\r
+ }\r
+ \r
+ public SoapException (string message, XmlQualifiedName code, string actor, string role, XmlNode detail, SoapFaultSubcode subcode, Exception innerException)\r
+ : base (message, innerException)\r
+ {\r
+ this.code = code;\r
+ this.subcode = subcode;\r
+ this.detail = detail;\r
+ this.actor = actor;\r
+ this.role = role;\r
+ }\r
+ \r
+ public SoapException (string message, XmlQualifiedName code, string actor, string role, string lang, XmlNode detail, SoapFaultSubcode subcode, Exception innerException)\r
+ {\r
+ this.code = code;\r
+ this.subcode = subcode;\r
+ this.detail = detail;\r
+ this.actor = actor;\r
+ this.role = role;\r
+ this.lang = lang;\r
+ }\r
+\r
+ public static bool IsClientFaultCode (XmlQualifiedName code)\r
+ {\r
+ if (code == ClientFaultCode) return true;\r
+ if (code == Soap12FaultCodes.SenderFaultCode) return true;\r
+ return false;\r
+ }\r
+\r
+ public static bool IsMustUnderstandFaultCode (XmlQualifiedName code)\r
+ {\r
+ if (code == MustUnderstandFaultCode) return true;\r
+ if (code == Soap12FaultCodes.MustUnderstandFaultCode) return true;\r
+ return false;\r
+ }\r
+ \r
+ public static bool IsServerFaultCode (XmlQualifiedName code)\r
+ {\r
+ if (code == ServerFaultCode) return true;\r
+ if (code == Soap12FaultCodes.ReceiverFaultCode) return true;\r
+ return false;\r
+ }\r
+ \r
+ public static bool IsVersionMismatchFaultCode (XmlQualifiedName code)\r
+ {\r
+ if (code == VersionMismatchFaultCode) return true;\r
+ if (code == Soap12FaultCodes.VersionMismatchFaultCode) return true;\r
+ return false;\r
+ }\r
+\r
+#endif\r
+\r
#endregion // Constructors\r
\r
#region Properties\r
get { return detail; }\r
}\r
\r
+#if NET_2_0\r
+ public string Lang {\r
+ get { return lang; }\r
+ }\r
+ \r
+ public string Role {\r
+ get { return role; }\r
+ }\r
+ \r
+ public SoapFaultSubcode Subcode {\r
+ get { return subcode; }\r
+ }\r
+ \r
+ // Same value as actor\r
+ public string Node {\r
+ get { return actor; }\r
+ }\r
+#endif\r
#endregion // Properties\r
}\r
}\r
--- /dev/null
+//
+// System.Web.Services.Protocols.SoapFaultSubcode.cs
+//
+// Author:
+// Lluis Sanchez (lluis@novell.com)
+//
+// Copyright (C) Novell, Inc., 2004
+//
+
+//
+// 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.Xml;
+
+namespace System.Web.Services.Protocols
+{
+ public class SoapFaultSubcode
+ {
+ XmlQualifiedName _code;
+ SoapFaultSubcode _subcode;
+
+ public SoapFaultSubcode (XmlQualifiedName code)
+ {
+ _code = code;
+ }
+
+ public SoapFaultSubcode (XmlQualifiedName code, SoapFaultSubcode subcode)
+ {
+ _code = code;
+ _subcode = subcode;
+ }
+
+ public XmlQualifiedName Code {
+ get { return _code; }
+ }
+
+ public SoapFaultSubcode Subcode {
+ get { return _subcode; }
+ }
+
+ }
+}
+
+#endif
string actor;\r
bool didUnderstand;\r
bool mustUnderstand;\r
+ \r
+#if NET_2_0\r
+ string role;\r
+ bool relay;\r
+#endif\r
\r
#endregion // Fields\r
\r
get { return mustUnderstand; }\r
set { mustUnderstand = value; }\r
}\r
+ \r
+#if NET_2_0\r
+\r
+ [DefaultValue ("0")]\r
+ [SoapAttribute ("mustUnderstand", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ [XmlAttribute ("mustUnderstand", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ public string EncodedMustUnderstand12 {\r
+ get { return (MustUnderstand ? "1" : "0"); }\r
+ set { \r
+ if (value == "true" || value == "1") \r
+ MustUnderstand = true;\r
+ else if (value == "false" || value == "0")\r
+ MustUnderstand = false;\r
+ else\r
+ throw new ArgumentException ();\r
+ }\r
+ }\r
+\r
+ [DefaultValue ("0")]\r
+ [SoapAttribute ("relay", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ [XmlAttribute ("relay", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ public string EncodedRelay\r
+ {\r
+ get { return (Relay ? "1" : "0"); }\r
+ set { \r
+ if (value == "true" || value == "1") \r
+ Relay = true;\r
+ else if (value == "false" || value == "0")\r
+ Relay = false;\r
+ else\r
+ throw new ArgumentException ();\r
+ }\r
+ }\r
+ \r
+ [SoapIgnore]\r
+ [XmlIgnore]\r
+ public bool Relay {\r
+ get { return relay; }\r
+ set { relay = value; }\r
+ }\r
+ \r
+ [DefaultValue ("")]\r
+ [SoapAttribute ("role", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ [XmlAttribute ("role", Namespace = "http://www.w3.org/2003/05/soap-envelope")]\r
+ public string Role {\r
+ get { return role; }\r
+ set { role = value; }\r
+ }\r
+ \r
+#endif\r
\r
#endregion // Properties\r
}\r
: base (message, code, actor, innerException)\r
{\r
}\r
+ \r
+#if NET_2_0\r
+\r
+ public SoapHeaderException (\r
+ string message, \r
+ XmlQualifiedName code, \r
+ string actor, \r
+ string role, \r
+ string lang, \r
+ SoapFaultSubcode subcode, \r
+ Exception innerException)\r
+ \r
+ : base (message, code, actor, role, lang, null, subcode, innerException)\r
+ {\r
+ \r
+ }\r
+\r
+ public SoapHeaderException (\r
+ string message, \r
+ XmlQualifiedName code, \r
+ string actor, \r
+ string role, \r
+ SoapFaultSubcode subcode, \r
+ Exception innerException)\r
+ \r
+ : base (message, code, actor, role, null, subcode, innerException)\r
+ {\r
+ \r
+ }\r
+\r
+#endif\r
\r
#endregion // Constructors\r
}\r
using System.Collections;\r
using System.Threading;\r
\r
-namespace System.Web.Services.Protocols {\r
- public class SoapHttpClientProtocol : HttpWebClientProtocol {\r
+namespace System.Web.Services.Protocols \r
+{\r
+ public class SoapHttpClientProtocol : HttpWebClientProtocol \r
+ {\r
SoapTypeStubInfo type_info;\r
+#if NET_2_0\r
+ WsiClaims conformanceClaims;\r
+ SoapProtocolVersion soapVersion;\r
+#endif\r
\r
#region SoapWebClientAsyncResult class\r
\r
\r
return ReceiveResponse (response, message, extensions);\r
}\r
+ \r
+#if NET_2_0\r
+\r
+ [MonoTODO ("Do something with this")]\r
+ public WsiClaims ConformanceClaims {\r
+ get { return conformanceClaims; }\r
+ set { conformanceClaims = value; }\r
+ }\r
+ \r
+ [MonoTODO ("Do something with this")]\r
+ public SoapProtocolVersion SoapVersion {\r
+ get { return soapVersion; }\r
+ set { soapVersion = value; }\r
+ }\r
+ \r
+ [MonoTODO]\r
+ protected void InvokeAsync (string methodName, object[] parameters, SendOrPostCallback callback)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected void InvokeAsync (string methodName, object[] parameters, SendOrPostCallback callback, object userState)\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+#endif\r
\r
#endregion // Methods\r
}\r
object[] inParameters;\r
object[] outParameters;\r
\r
+#if NET_2_0\r
+ SoapProtocolVersion soapVersion;\r
+#endif\r
+\r
#endregion // Fields\r
\r
#region Constructors\r
\r
public SoapException Exception {\r
get { return exception; }\r
+#if NET_2_0\r
+ set { exception = value; }\r
+#endif\r
}\r
\r
public SoapHeaderCollection Headers {\r
set { content_encoding = value; }\r
}\r
#endif\r
+\r
+#if NET_2_0\r
+ public virtual SoapProtocolVersion SoapVersion {\r
+ get { return soapVersion; }\r
+ set { soapVersion = value; }\r
+ }\r
+#endif\r
\r
#endregion Properties\r
\r
--- /dev/null
+//
+// System.Web.Services.Protocols.SoapProtocolVersion.cs
+//
+// Author:
+// Lluis Sanchez (lluis@novell.com)
+//
+// Copyright (C) Novell, Inc., 2004
+//
+
+//
+// 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
+{
+ [Serializable]
+ public enum SoapProtocolVersion
+ {
+ Default,
+ Soap11,
+ Soap12
+ }
+}
+
+#endif
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
\r
+using System.Web.Services.Description;\r
+\r
namespace System.Web.Services.Protocols {\r
[AttributeUsage (AttributeTargets.Method, Inherited = true)]\r
public sealed class SoapRpcMethodAttribute : Attribute {\r
string requestNamespace;\r
string responseElementName;\r
string responseNamespace;\r
-\r
+ \r
+#if NET_2_0\r
+ SoapBindingUse use;\r
+#endif\r
#endregion // Fields\r
\r
#region Constructors\r
get { return responseNamespace != null ? responseNamespace : ""; }\r
set { responseNamespace = value; }\r
}\r
+ \r
+#if NET_2_0\r
+ public SoapBindingUse Use {\r
+ get { return use; }\r
+ set { use = value; }\r
+ }\r
+#endif\r
\r
#endregion // Properties\r
}\r
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
\r
+using System.Web.Services.Description;\r
+\r
namespace System.Web.Services.Protocols {\r
[AttributeUsage (AttributeTargets.Class, Inherited = true)]\r
public sealed class SoapRpcServiceAttribute : Attribute {\r
#region Fields\r
\r
SoapServiceRoutingStyle routingStyle;\r
+#if NET_2_0\r
+ SoapBindingUse use;\r
+#endif\r
\r
#endregion // Fields\r
\r
set { routingStyle = value; }\r
}\r
\r
+#if NET_2_0\r
+ public SoapBindingUse Use {\r
+ get { return use; }\r
+ set { use = value; }\r
+ }\r
+#endif\r
+\r
#endregion // Properties\r
}\r
}\r
get { return url; }\r
}\r
\r
+#if NET_2_0\r
+ [MonoTODO]\r
+ public override SoapProtocolVersion SoapVersion {\r
+ get { throw new NotImplementedException (); }\r
+ }\r
+#endif\r
+\r
#endregion // Properties\r
\r
#region Methods\r
//\r
// Used by SoapHttpClientProtocol, use this to avoid creating a new Uri on each invocation.\r
//\r
- protected internal Uri uri;\r
+ internal Uri uri;\r
\r
//\r
// Points to the current request, so we can call Abort() on it\r