[Mono-bugs] [Bug 570646] New: ClientCredentials not found in System.ServiceModel.Description namespace

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 14 08:19:18 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=570646#c0


           Summary: ClientCredentials not found in
                    System.ServiceModel.Description namespace
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: libra_shoaib at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)

myServiceClient.ClientCredentials.UserName.UserName = msUserName;
myServiceClient.ClientCredentials.UserName.Password = msPassword;

Shows Compile Time Error:
Error CS1061: Type `TestWCFService.Service1Client' does not contain a
definition for `ClientCredentials' and no extension method `ClientCredentials'
of type `TestWCFService.Service1Client' could be found (are you missing a using
directive or an assembly reference?) (CS1061) (WCFClientTest)

Reproducible: Always

Steps to Reproduce:
1.generate proxy for any WCF Service using slsvcutil.
2.add generated proxy to solution
3.remove CookieContainer property from proxy code
4.create an instance of the ServiceClient and try to access ClientCredentials
property.
5.Compile the solution
Actual Results:  
Error CS1061: Type `TestWCFService.Service1Client' does not contain a
definition for `ClientCredentials' and no extension method `ClientCredentials'
of type `TestWCFService.Service1Client' could be found (are you missing a using
directive or an assembly reference?) (CS1061) (WCFClientTest)

Expected Results:  
Successfully Compiled

-- 
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