C# 正在引发SSRS Web服务LoadReport()异常

C# 正在引发SSRS Web服务LoadReport()异常,c#,reporting-services,reportingservices-2005,C#,Reporting Services,Reportingservices 2005,调用SSR2005提供的ReportExecutionService2005Web服务的LoadReport()方法时出现以下异常: System.Web.Services.Protocols.SoapException:服务器未识别HTTP标头SOAPAction的值 你知道这是什么原因吗?我的C#代码是这样的 string _reportName = "/FolderName/ReportName"; string _historyID = null; WebServiceProxy.RSE

调用SSR2005提供的ReportExecutionService2005Web服务的LoadReport()方法时出现以下异常:

System.Web.Services.Protocols.SoapException:服务器未识别HTTP标头SOAPAction的值

你知道这是什么原因吗?我的C#代码是这样的

string _reportName = "/FolderName/ReportName";
string _historyID = null;
WebServiceProxy.RSExec.ExecutionInfo _executionInfo = null;

_executionInfo = rsExec.LoadReport(_reportName, _historyID);
所有凭证均使用设置

System.Net.CredentialCache.DefaultCredentials;

结果发现我对执行服务使用了错误的URL。对于遇到此问题的任何其他人,请确保使用正确的url

ReportingService2005 = http://<server name>/ReportServer/ReportService2005.asmx ReportExecution2005 = http://<server name>/ReportServer/ReportExecution2005.asmx ReportingService2005=http:///ReportServer/ReportService2005.asmx ReportExecution2005=http:///ReportServer/ReportExecution2005.asmx
谢谢我快发疯了,为什么我没有得到我想要的方法。