Author: atsushi
Date: 2008-02-14 03:25:19 -0500 (Thu, 14 Feb 2008)
New Revision: 95609

Modified:
   trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebGetAttribute.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebInvokeAttribute.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web_test.dll.sources
Log:
2008-02-14  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * WebGetAttribute.cs, WebInvokeAttribute.cs : they are "passive"
          operation behaviors and do nothing.
        * WebChannelFactory.cs : if no Binding is set, set default
          WebHttpBinding.



Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog 
2008-02-14 06:55:51 UTC (rev 95608)
+++ trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog 
2008-02-14 08:25:19 UTC (rev 95609)
@@ -1,5 +1,12 @@
 2008-02-14  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * WebGetAttribute.cs, WebInvokeAttribute.cs : they are "passive"
+         operation behaviors and do nothing.
+       * WebChannelFactory.cs : if no Binding is set, set default
+         WebHttpBinding.
+
+2008-02-14  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * WebChannelFactory.cs, WebServiceHost.cs : their role is to supply
          WebHttpBehavior.
 

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
      2008-02-14 06:55:51 UTC (rev 95608)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
      2008-02-14 08:25:19 UTC (rev 95609)
@@ -93,6 +93,9 @@
                {
                        if (Endpoint.Behaviors.Find<WebHttpBehavior> () == null)
                                Endpoint.Behaviors.Add (new WebHttpBehavior ());
+
+                       if (Endpoint.Binding == null)
+                               Endpoint.Binding = new WebHttpBinding ();
                }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebGetAttribute.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebGetAttribute.cs
        2008-02-14 06:55:51 UTC (rev 95608)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebGetAttribute.cs
        2008-02-14 08:25:19 UTC (rev 95609)
@@ -82,24 +82,24 @@
                        set { uri_template = value; }
                }
 
-               [MonoTODO]
                void IOperationBehavior.AddBindingParameters 
(OperationDescription operation, BindingParameterCollection parameters)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.ApplyClientBehavior 
(OperationDescription operation, ClientOperation client)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.ApplyDispatchBehavior 
(OperationDescription operation, DispatchOperation service)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.Validate (OperationDescription 
operation)
                {
+                       // "it is a passive operation behavior"
                }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebInvokeAttribute.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebInvokeAttribute.cs
     2008-02-14 06:55:51 UTC (rev 95608)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebInvokeAttribute.cs
     2008-02-14 08:25:19 UTC (rev 95609)
@@ -88,24 +88,24 @@
                        set { uri_template = value; }
                }
 
-               [MonoTODO]
                void IOperationBehavior.AddBindingParameters 
(OperationDescription operation, BindingParameterCollection parameters)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.ApplyClientBehavior 
(OperationDescription operation, ClientOperation client)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.ApplyDispatchBehavior 
(OperationDescription operation, DispatchOperation service)
                {
+                       // "it is a passive operation behavior"
                }
 
-               [MonoTODO]
                void IOperationBehavior.Validate (OperationDescription 
operation)
                {
+                       // "it is a passive operation behavior"
                }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web_test.dll.sources
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web_test.dll.sources
  2008-02-14 06:55:51 UTC (rev 95608)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web_test.dll.sources
  2008-02-14 08:25:19 UTC (rev 95609)
@@ -16,5 +16,7 @@
 System.ServiceModel.Syndication/TextSyndicationContentTest.cs
 System.ServiceModel.Syndication/UrlSyndicationContentTest.cs
 System.ServiceModel.Syndication/XmlSyndicationContentTest.cs
+System.ServiceModel.Web/WebGetAttributeTest.cs
+System.ServiceModel.Web/WebInvokeAttributeTest.cs
 System.ServiceModel/WebHttpBindingTest.cs
 System/UriTemplateTest.cs

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to