2

I am trying to integrate cognos BI server with console application when I tried to connect to server I am getting error state as 'The request failed with an empty response.'

credentialXML.AppendFormat("<namespace>{0}</namespace>", "");
credentialXML.AppendFormat("<username>{0}</username>", "username");
credentialXML.AppendFormat("<password>{0}</password>", "Password");
credentialXML.Append("</credential>");

//The csharp toolkit encodes the credentials
string encodedCredentials = credentialXML.ToString();
xmlEncodedXML xmlEncodedCredentials = new xmlEncodedXML();
xmlEncodedCredentials.Value = encodedCredentials;
searchPathSingleObject[] emptyRoleSearchPathList = new searchPathSingleObject[0];
cBICMS.logon(xmlEncodedCredentials, null);
Patrick Hofman
  • 143,714
  • 19
  • 222
  • 294
Akhilesh
  • 171
  • 1
  • 19

0 Answers0