SSRS Web Service LoadReport () Exception:

I get the following exception when calling the LoadReport () method of the ReportExecutionService2005 web service provided by SSRS 2005;

System.Web.Services.Protocols.SoapException: the server did not recognize the value of the SOAPAction HTTP header

Any ideas what might cause this? My C # code is as follows:

string _reportName = "/FolderName/ReportName"; string _historyID = null; WebServiceProxy.RSExec.ExecutionInfo _executionInfo = null; _executionInfo = rsExec.LoadReport(_reportName, _historyID); 

All credentials are specified with;

 System.Net.CredentialCache.DefaultCredentials; 
+4
source share
1 answer

Turns out I used the wrong url for the runtime service. For anyone facing this problem, make sure to use the correct URL !!!!

  ReportingService2005 = http: // <server name> /ReportServer/ReportService2005.asmx
 ReportExecution2005 = http: // <server name> /ReportServer/ReportExecution2005.asmx
+11
source

Source: https://habr.com/ru/post/1315904/


All Articles