[Mono-bugs] [Bug 554985] New: ClientCredentials missing from System.ServiceModel.Description

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 12 12:58:56 EST 2009


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


           Summary: ClientCredentials missing from
                    System.ServiceModel.Description
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: donavan.stanley at sisware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5)
Gecko/20091102 Firefox/3.5.5

We have a WCF based web service that we're trying to use from MonoTouch.
Unfortunately we've hit a snag that I don't see around:

Our service needs ClientCredentials which isn't currently present.  Are there
any plans to add this to the framework for MonoTouch or can anyone suggest and
alternative?  We're stopped dead in our tracks because the following will not
compile:




Reproducible: Always

Steps to Reproduce:

    private void AddEndpointBehaviors(ServiceEndpoint clsEndpoint)
    {
         if (clsEndpoint.Behaviors.Contains(typeof(ClientCredentials)))
        {
           ClientCredentials creds =
clsEndpoint.Behaviors.Find<ClientCredentials>();
           creds.UserName.UserName = msUserName;
           creds.UserName.Password = msPassword;
        }
    }

Actual Results:  
Compiler error

Expected Results:  
Successful compilation

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


More information about the mono-bugs mailing list