[Mono-bugs] [Bug 640357] New: WCF: Transport security over HTTPS does not work (very important for major business/enterprise integration scenarios)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 18 11:43:06 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640357

https://bugzilla.novell.com/show_bug.cgi?id=640357#c0


           Summary: WCF: Transport security over HTTPS does not work (very
                    important for major business/enterprise integration
                    scenarios)
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          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: ---
           Blocker: ---


Created an attachment (id=390365)
 --> (http://bugzilla.novell.com/attachment.cgi?id=390365)
Repro code to show the bug

Description of Problem:
When I try to get Microsoft SL sample code for a WSTrustClient to work, it
compiles in MT. But it throws at runtime with a System.NotImplementedException.
Getting this to work is *very* essential, as it is the first step towards
supporting Claims-based security and integration with security token services
in enterprises.

Steps to reproduce the problem:
1. See the attached repro. Compile and run it.
2. See the above mentioned exception occurring.


Actual Results:
Throws.

System.NotImplementedException: The requested feature is not implemented.
  at
System.ServiceModel.Channels.TransportSecurityBindingElement.BuildChannelFactoryCore[IRequestChannel]
(System.ServiceModel.Channels.BindingContext context) [0x00000] in <filename
unknown>:0 
  at
System.ServiceModel.Channels.SecurityBindingElement.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingContext context) [0x00000] in <filename
unknown>:0 
  at
System.ServiceModel.Channels.BindingContext.BuildInnerChannelFactory[IRequestChannel]
() [0x00000] in <filename unknown>:0 
  at System.ServiceModel.Channels.Binding.BuildChannelFactory[IRequestChannel]
(System.ServiceModel.Channels.BindingParameterCollection parameters) [0x00000]
in <filename unknown>:0 
  at System.ServiceModel.ChannelFactory.CreateFactory () [0x00000] in <filename
unknown>:0 
  at System.ServiceModel.ChannelFactory.get_OpenedChannelFactory () [0x00000]
in <filename unknown>:0 
  at System.ServiceModel.ClientRuntimeChannel..ctor
(System.ServiceModel.Description.ServiceEndpoint endpoint,
System.ServiceModel.ChannelFactory channelFactory,
System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.ClientBase`1+ChannelBase`1[TChannel,T].get_Inner ()
[0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientBase`1+ChannelBase`1[TChannel,T].BeginInvoke
(System.String methodName, System.Object[] args, System.AsyncCallback callback,
System.Object state) [0x00000] in <filename unknown>:0 
  at
SL.IdentityModel.Protocols.WSTrust.WSTrustClient+WSTrustClientChannel.BeginIssue
(System.ServiceModel.Channels.Message message, System.AsyncCallback callback,
System.Object asyncState) [0x00000] in <filename unknown>:0 
  at SL.IdentityModel.Protocols.WSTrust.WSTrustClient.OnBeginIssue
(System.Object[] inValues, System.AsyncCallback callback, System.Object
asyncState) [0x00000] in <filename unknown>:0 
  at System.ServiceModel.ClientBase`1[TChannel].InvokeAsync
(System.ServiceModel.BeginOperationDelegate beginOperationDelegate,
System.Object[] inValues, System.ServiceModel.EndOperationDelegate
endOperationDelegate, System.Threading.SendOrPostCallback
operationCompletedCallback, System.Object userState) [0x00000] in <filename
unknown>:0 
  at SL.IdentityModel.Protocols.WSTrust.WSTrustClient.IssueAsync
(SL.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, System.Object
userState) [0x00000] in <filename unknown>:0 
  at SL.IdentityModel.Protocols.WSTrust.WSTrustClient.IssueAsync
(SL.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst) [0x00000] in
<filename unknown>:0 
  at
Thinktecture.Brewtecture.Silverlight.ApplicationService.TokenClient.GetIdentityTokenAsync
(System.String idpAddress, IRequestCredentials credentials, Boolean
skipResourceSts) [0x00000] in <filename unknown>:0 
  at IdentityModelDemo.AppDelegate.FinishedLaunching
(MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options)
[0x00000] in <filename unknown>:0 


Expected Results:
This should just work. It works in SL.

How often does this happen? 
Always.

Additional Information:
Thanks for your help!

-- 
Configure bugmail: https://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