Hi
I think I am not setting the credentials correctly using reflections for a service call (Dynamics AX 2009 & C#). Do I need to bind the code below back to the propxyService
PropertyInfo credentialsPropertyInfo = proxyService.ProxyType.GetProperty(ClientCredentials); ClientCredentials cred = (ClientCredentials)credentialsPropertyInfo.GetValue(proxyService.ObjectInstance, null); cred.Windows.ClientCredential = new System.Net.NetworkCredential(domainUsernameLogin, password);