Our current code looks like this:
VisualCron.WebService client = new VisualCron.WebService();
client.UnsafeAuthenticatedConnectionSharing = true;
client.Url = "http://localhost:8000/VisualCron";
client.UseDefaultCredentials = true;
ICredentials credentials = new NetworkCredential("<username>", "<password>");
client.Credentials = credentials;
LogonResult loginresult = client.Logon("<cronusername>", "<password>");
JobClass[] jobs= client.Job_List();
This code return a valid authentication token but shows in the last line´s code execution this error:
Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
Please Suggest