[Mono-bugs] [Bug 551745] New: System.ServiceModel.Channels.HttpsTransportBindingElement throws NotImplementedException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 1 17:52:39 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=551745


           Summary: System.ServiceModel.Channels.HttpsTransportBindingElem
                    ent throws NotImplementedException
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: christian.weyer at thinktecture.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=325040)
 --> (http://bugzilla.novell.com/attachment.cgi?id=325040)
Sample MD SLN to demo the problem

Description of Problem:
When I try to use HttpsTransportBindingElement in a CustomBinding like this:
var address =
"https://identity.thinktecture.com/starterrp/service.svc/simpletext";
var binding = new CustomBinding (new TextMessageEncodingBindingElement (), new
HttpsTransportBindingElement ());
var factory = new ChannelFactory<StarterServiceContract> (binding, address);
var proxy = factory.CreateChannel ();

I get an exception.

Steps to reproduce the problem:
1. See attached demo SLN.
2. After getting a token try to call the service - the exception occurs.

Actual Results:
Unhandled Exception: System.NotImplementedException: The requested feature is
not implemented.
  at
System.ServiceModel.Channels.HttpsTransportBindingElement.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingContext context) [0x00000] 
  at
System.ServiceModel.Channels.BindingContext.BuildInnerChannelFactory[IRequestChannel]
() [0x00000] 
  at
System.ServiceModel.Channels.BindingElement.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingContext context) [0x00000] 
  at
System.ServiceModel.Channels.TextMessageEncodingBindingElement.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingContext context) [0x00000] 
  at
System.ServiceModel.Channels.BindingContext.BuildInnerChannelFactory[IRequestChannel]
() [0x00000] 
  at System.ServiceModel.Channels.Binding.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingParameterCollection parameters) [0x00000] 
  at System.ServiceModel.ChannelFactory.CreateFactory () [0x00000] 
  at System.ServiceModel.ChannelFactory.OnOpening () [0x00000] 
  at System.ServiceModel.Channels.CommunicationObject.ProcessOpening ()
[0x00000] 
  at System.ServiceModel.Channels.CommunicationObject.Open (TimeSpan timeout)
[0x00000] 
  at System.ServiceModel.Channels.CommunicationObject.Open () [0x00000] 
  at System.ServiceModel.ChannelFactory.EnsureOpened () [0x00000] 
  at
System.ServiceModel.ChannelFactory`1[Client.ServiceReference.StarterServiceContract].CreateChannel
(System.ServiceModel.EndpointAddress address, System.Uri via) [0x00000] 
  at
System.ServiceModel.ChannelFactory`1[Client.ServiceReference.StarterServiceContract].CreateChannel
(System.ServiceModel.EndpointAddress address) [0x00000] 
  at
System.ServiceModel.ChannelFactory`1[Client.ServiceReference.StarterServiceContract].CreateChannel
() [0x00000] 
  at ClaimsClient.AppDelegate.CallService () [0x00000] 

Expected Results:
The HttpsTransportBindingElement should work - it is highly needed for a lot of
enterprise scenarios.

How often does this happen? 
Always.

Additional Information:
-

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list