Trying to perform request on Workday Human Resources web service V38.1
I have successfully done so using SOAP UI.
Have created .cs file using WSDL.exe
Trying to create a client using from the generated .cs file:
public partial class HumanResourcesService : System.Web.Services.Protocols.SoapHttpClientProtocol
Then
_proxy = new HumanResourcesService();
_proxy.UseDefaultCredentials = false;
_proxy.Credentials = new NetworkCredential(WorkdayHRWebservicesUsername, WorkdayHRWebservicesPassword);
_proxy.PreAuthenticate = true;
Then using the proxy
var response = _proxy.Get_Worker_Profile(request);
Returns
System.Web.Services.Protocols.SoapHeaderException: 'invalid username or password'
Username and password is correct.