Author: atsushi
Date: 2008-02-12 03:57:13 -0500 (Tue, 12 Feb 2008)
New Revision: 95482

Added:
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebRequestContext.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebResponseContext.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebRequestContext.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebResponseContext.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
   trunk/olive/class/System.ServiceModel.Web/System/
   trunk/olive/class/System.ServiceModel.Web/System/ChangeLog
   trunk/olive/class/System.ServiceModel.Web/System/UriTemplate.cs
   trunk/olive/class/System.ServiceModel.Web/System/UriTemplateMatch.cs
Modified:
   trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
   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/ChangeLog
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
Log:
2008-02-12  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * UriTemplate.cs, UriTemplateMatch.cs : new stubs.

        * WebChannelFactory.cs : added more constructors.
        * IncomingWebRequestContext.cs, IncomingWebResponseContext.cs,
          OutgoingWebResponseContext.cs, OutgoingWebRequestContext.cs,
          WebOperationContext.cs : new stubs.

        * WebHttpBinding.cs : use ManualAddressing.



Added: trunk/olive/class/System.ServiceModel.Web/System/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System/ChangeLog  2008-02-12 
08:56:26 UTC (rev 95481)
+++ trunk/olive/class/System.ServiceModel.Web/System/ChangeLog  2008-02-12 
08:57:13 UTC (rev 95482)
@@ -0,0 +1,3 @@
+2008-02-12  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * UriTemplate.cs, UriTemplateMatch.cs : new stubs.

Added: trunk/olive/class/System.ServiceModel.Web/System/UriTemplate.cs
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System/UriTemplate.cs     
2008-02-12 08:56:26 UTC (rev 95481)
+++ trunk/olive/class/System.ServiceModel.Web/System/UriTemplate.cs     
2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,41 @@
+//
+// UriTemplate.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+
+namespace System
+{
+       public class UriTemplate
+       {
+               public UriTemplate (string template)
+               {
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System/UriTemplate.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/olive/class/System.ServiceModel.Web/System/UriTemplateMatch.cs
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System/UriTemplateMatch.cs        
2008-02-12 08:56:26 UTC (rev 95481)
+++ trunk/olive/class/System.ServiceModel.Web/System/UriTemplateMatch.cs        
2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,82 @@
+//
+// UriTemplateMatch.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.Collections.ObjectModel;
+using System.Collections.Specialized;
+
+namespace System
+{
+       public class UriTemplateMatch
+       {
+               public UriTemplateMatch ()
+               {
+               }
+
+               [MonoTODO]
+               public Uri BaseUri {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public NameValueCollection BoundVariables {
+                       get { throw new NotImplementedException (); }
+               }
+
+               public object Data {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public NameValueCollection QueryParameters {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public Collection<string> RelativePathSegments { 
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public Uri RequestUri {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public UriTemplate Template {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               public Collection<string> WildcardPathSegments {
+                       get { throw new NotImplementedException (); }
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System/UriTemplateMatch.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog     
2008-02-12 08:56:26 UTC (rev 95481)
+++ trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog     
2008-02-12 08:57:13 UTC (rev 95482)
@@ -1,3 +1,7 @@
+2008-02-12  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * WebHttpBinding.cs : use ManualAddressing.
+
 2008-02-08  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * WebHttpBinding.cs : Scheme could be HTTPS.

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs 
    2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs 
    2008-02-12 08:57:13 UTC (rev 95482)
@@ -55,7 +55,7 @@
                WebHttpSecurity security = new WebHttpSecurity ();
                Encoding write_encoding = Encoding.UTF8;
 
-               HttpTransportBindingElement t = new HttpTransportBindingElement 
();
+               HttpTransportBindingElement t = new HttpTransportBindingElement 
() { ManualAddressing = true };
 
                public bool AllowCookies {
                        get { return t.AllowCookies; }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog 
2008-02-12 08:56:26 UTC (rev 95481)
+++ trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/ChangeLog 
2008-02-12 08:57:13 UTC (rev 95482)
@@ -1,3 +1,10 @@
+2008-02-12  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * WebChannelFactory.cs : added more constructors.
+       * IncomingWebRequestContext.cs, IncomingWebResponseContext.cs,
+         OutgoingWebResponseContext.cs, OutgoingWebRequestContext.cs,
+         WebOperationContext.cs : new stubs.
+
 2008-02-07  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * WebServiceHost.cs, WebChannelFactory.cs,

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebRequestContext.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebRequestContext.cs
      2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebRequestContext.cs
      2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,71 @@
+//
+// IncomingWebRequestContext.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.Net;
+
+namespace System.ServiceModel.Web
+{
+       public class IncomingWebRequestContext
+       {
+               [MonoTODO]
+               public string Accept {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public long ContentLength {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ContentType {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public WebHeaderCollection Headers {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string Method {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public UriTemplateMatch UriTemplateMatch {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string UserAgent {
+                       get { throw new NotImplementedException (); }
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebRequestContext.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebResponseContext.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebResponseContext.cs
     2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebResponseContext.cs
     2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,70 @@
+//
+// IncomingWebResponseContext.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.Net;
+
+namespace System.ServiceModel.Web
+{
+       public class IncomingWebResponseContext
+       {
+               [MonoTODO]
+               public long ContentLength {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ContentType {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ETag {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public WebHeaderCollection Headers {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string Location {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public HttpStatusCode StatusCode {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string StatusDescription {
+                       get { throw new NotImplementedException (); }
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/IncomingWebResponseContext.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebRequestContext.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebRequestContext.cs
      2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebRequestContext.cs
      2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,100 @@
+//
+// OutgoingWebRequestContext.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.Net;
+
+namespace System.ServiceModel.Web
+{
+       public class OutgoingWebRequestContext
+       {
+               [MonoTODO]
+               public string Accept {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public long ContentLength {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ContentType {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public WebHeaderCollection Headers {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string IfMatch {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string IfModifiedSince {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string IfNoneMatch {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string IfUnmodifiedSince {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string Method {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public bool SuppressEntityBody {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string UserAgent {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebRequestContext.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebResponseContext.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebResponseContext.cs
     2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebResponseContext.cs
     2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,88 @@
+//
+// OutgoingWebResponseContext.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.Net;
+
+namespace System.ServiceModel.Web
+{
+       public class OutgoingWebResponseContext
+       {
+               [MonoTODO]
+               public long ContentLength {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ContentType {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string ETag {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public WebHeaderCollection Headers {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public DateTime LastModified {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string Location {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public HttpStatusCode StatusCode {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string StatusDescription {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public bool SuppressEntityBody {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/OutgoingWebResponseContext.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
      2008-02-12 08:57:13 UTC (rev 95482)
@@ -46,6 +46,12 @@
                }
 
                [MonoTODO]
+               public WebChannelFactory (Type serviceType)
+                       : base (serviceType)
+               {
+               }
+
+               [MonoTODO]
                public WebChannelFactory (string configurationName)
                        : base (configurationName)
                {
@@ -58,12 +64,26 @@
                }
 
                [MonoTODO]
-               public WebChannelFactory (Binding binding, Uri serviceBaseUri)
-                       : this (new ServiceEndpoint 
(ContractDescription.GetContract (typeof (TChannel)), binding, new 
EndpointAddress (serviceBaseUri)))
+               public WebChannelFactory (Uri remoteAddress)
+                       : base ()
                {
+                       Endpoint.Address = new EndpointAddress (remoteAddress);
                }
 
                [MonoTODO]
+               public WebChannelFactory (string configurationName, Uri 
remoteAddress)
+                       : this (configurationName)
+               {
+                       Endpoint.Address = new EndpointAddress (remoteAddress);
+               }
+
+               [MonoTODO]
+               public WebChannelFactory (Binding binding, Uri remoteAddress)
+                       : this (new ServiceEndpoint 
(ContractDescription.GetContract (typeof (TChannel)), binding, new 
EndpointAddress (remoteAddress)))
+               {
+               }
+
+               [MonoTODO]
                public WebChannelFactory (ServiceEndpoint endpoint)
                        : base (endpoint)
                {

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
    2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
    2008-02-12 08:57:13 UTC (rev 95482)
@@ -0,0 +1,84 @@
+//
+// WebOperationContext.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
+//
+// 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;
+using System.ServiceModel;
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+
+namespace System.ServiceModel.Web
+{
+       public class WebOperationContext : IExtension<OperationContext>
+       {
+               public static WebOperationContext Current {
+                       get { return OperationContext.Current != null ? 
OperationContext.Current.Extensions.Find<WebOperationContext> () : null; }
+               }
+
+               OperationContext operation;
+               IncomingWebRequestContext incoming_request = new 
IncomingWebRequestContext ();
+               IncomingWebResponseContext incoming_response = new 
IncomingWebResponseContext ();
+               OutgoingWebRequestContext outgoing_request = new 
OutgoingWebRequestContext ();
+               OutgoingWebResponseContext outgoing_response = new 
OutgoingWebResponseContext ();
+
+               public WebOperationContext (OperationContext operation)
+               {
+                       if (operation == null)
+                               throw new ArgumentNullException ("operation");
+                       this.operation = operation;
+               }
+
+               [MonoTODO]
+               public IncomingWebRequestContext IncomingRequest {
+                       get { return incoming_request; }
+               }
+
+               [MonoTODO]
+               public IncomingWebResponseContext IncomingResponse {
+                       get { return incoming_response; }
+               }
+
+               [MonoTODO]
+               public OutgoingWebRequestContext OutgoingRequest {
+                       get { return outgoing_request; }
+               }
+
+               [MonoTODO]
+               public OutgoingWebResponseContext OutgoingResponse {
+                       get { return outgoing_response; }
+               }
+
+               [MonoTODO]
+               public void Attach (OperationContext context)
+               {
+               }
+
+               [MonoTODO]
+               public void Detach (OperationContext context)
+               {
+               }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2008-02-12 08:56:26 UTC (rev 95481)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2008-02-12 08:57:13 UTC (rev 95482)
@@ -46,12 +46,19 @@
 System.ServiceModel.Syndication/TextSyndicationContentKind.cs
 System.ServiceModel.Syndication/UrlSyndicationContent.cs
 System.ServiceModel.Syndication/XmlSyndicationContent.cs
+System.ServiceModel.Web/IncomingWebRequestContext.cs
+System.ServiceModel.Web/IncomingWebResponseContext.cs
+System.ServiceModel.Web/OutgoingWebRequestContext.cs
+System.ServiceModel.Web/OutgoingWebResponseContext.cs
 System.ServiceModel.Web/WebChannelFactory.cs
 System.ServiceModel.Web/WebGetAttribute.cs
 System.ServiceModel.Web/WebInvokeAttribute.cs
 System.ServiceModel.Web/WebMessageBodyStyle.cs
 System.ServiceModel.Web/WebMessageFormat.cs
+System.ServiceModel.Web/WebOperationContext.cs
 System.ServiceModel.Web/WebServiceHost.cs
 System.ServiceModel/WebHttpBinding.cs
 System.ServiceModel/WebHttpSecurity.cs
 System.ServiceModel/WebHttpSecurityMode.cs
+System/UriTemplate.cs
+System/UriTemplateMatch.cs

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

Reply via email to