SOAP service authentication in Microsoft Silverlight

Tags:
Authentication
Microsoft Silverlight
SOAP
The SOAP Service is authenticated, whenever I'm trying to execute my SilverLight application, it shows the authentication window. I even tried the below method to pass the credentials but it does not work can anyone help with that, its making big issue.
BasicHttpBinding AdminService_Binding = new BasicHttpBinding();

EndpointAddress WM_AdminService_Endpoint = new EndpointAddress("SoapURL");

AdminService_Binding.Name = "Service1Soap";

AdminService_Binding.MaxBufferSize = 2147483647;

AdminService_Binding.MaxReceivedMessageSize = 2147483647;

MyAdminService.ClientCredentials.UserName.UserName = ConfigManager.ListenerServiceUserName;

MyAdminService.ClientCredentials.UserName.Password = ConfigManager.ListenerServicePassword;

AdminService_Binding.Security.Mode = BasicHttpSecurityMode.TransportCredentialOnly;
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: