웹 서비스입니다 호출 프록시 호출하는 코드 누락되었습니다ReportingServices 2008 웹 서비스가 "보고서"매개 변수는
ReportExecutionService의 RS = 새로운 ReportExecutionService을(); rs.Timeout = System.Threading.Timeout.Infinite; rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
문자열 execURL = ConfigurationSettings.AppSettings [ "ReportsBasePath"] + @ "/ ReportExecution2005.asmx"; rs.Url = execURL;
ExecutionInfo execInfo = rs.LoadReport ("/ Reports/rptSharedRepresentativeReport", null);
LoadReport 함수의 첫 번째 매개 변수입니다 참고 : 매개 변수에 대한
값 '보고서'가 지정되지 않은 :
오류를보고합니다. 함수 호출에서 누락되었거나 Microsoft.ReportingServices.WebServer.ReportExecution2005Impl.LoadReport (String Report, String HistoryID, ExecutionInfo2 & executionInfo)에서 null 으로 설정됩니다. at Microsoft.ReportingServices.WebServer.ReportExecutionService.LoadReport (String 보고서, System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse에서
문자열 HistoryID, executionInfo & executionInfo) (SoapClientMessage 메시지, WebResponse를 응답, System.Web.Services.Protocols.SoapHttpClientProtocol에서 스트림 responseStream, 부울 asyncCall) . ReportExecutionService.LoadReport (String report, String HistoryID)에서 을 호출 (String methodName, Object [] 매개 변수)(문자열 reportPath, ArrayList 매개 변수 값, 문자열 형식)