Hello
I can't connect to MM Web services using Web Services using C#.
Does anyone ever done something like this and can give me an example?
I made ana attempt as follows but I have an exception:
QueryService.QueryServiceClient qrsc = new QueryService.QueryServiceClient("QueryService", "http://192.168.0.2:8580/QueryService");
qrsc.ClientCredentials.UserName.UserName = "medmgr";
qrsc.ClientCredentials.UserName.Password = "medmgr";
qrsc.Open();
try
{
QueryService.wsFile[] files2 = qrsc.getFiles("CWLUQZLTHXTZWI");
MessageBox.Show("OK");
}
catch(Exception ex){
MessageBox.Show("KO " + ex.Message);
}