Reputation: 46651
If I create a new project and add a wcf service reference to it,I can use the client it generates to assign the username and password to ClientCredentials, but if I create the proxy using svcutil.exe and the wsdl, the proxy code it generates doesn't allow me to set the username and password.
Upvotes: 1
Views: 471
Reputation: 87308
It should just work; generated proxies inherit from ClientBase<T>
, which has a ClientCredentials property. If this happens to you again, please post the generated class signature, and we can look at it.
Upvotes: 1