Click here to Skip to main content
11,927,167 members (50,468 online)
Rate this:
Please Sign up or sign in to vote.
See more: WCF
SchdService.ScheduleDataClient obj = new tempWcfTestApp.SchdService.ScheduleDataClient();
            obj.ClientCredentials.Windows.ClientCredential.UserName = "hari";
            obj.ClientCredentials.Windows.ClientCredential.Password = "enter";
not like above credentials.
Posted 11-Jan-13 2:08am
Edited 11-Jan-13 2:52am
ryanb31 11-Jan-13 7:52am
I am not sure I understand what you are asking. If the service requires credentials then there is no way to do it without login credentials. It depends on the service.
Keith Barrow 11-Jan-13 10:02am
You have to do extra configuration work on the server to force the client to do this. Just remove the config that does this. Unless I've missed something of course.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100