We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
The following forum(s) have migrated to Microsoft Q&A:
Windows Communication Foundation, Serialization, and Networking! VisitMicrosoft Q&Ato post new questions.
How do I create a client proxy to a SOAP Web Service and pass credentials with the service call. The ClientCredentials property is readonly, so I'm unable to pass my username and password
you can set ClientCredentials.UserName.Username and ClientCredentials.UserName.Password after setting the ClientCredentialType to MessageCredentialType.UserName.
you can set ClientCredentials.UserName.Username and ClientCredentials.UserName.Password after setting the ClientCredentialType to MessageCredentialType.UserName.