我正在尝试使用Web服务从SAP Portal环境连接到SSRS。我已经从ReportService2005.asmx创建了代理类,并且可以看到列表中有一个Render类。问题是它没有我见过的其他例子中描述的任何参数。它看起来像这样:
渲染(渲染arg0)
我错过了什么?我能够使用ReportingService2005.asmx中的getReportParameters来检索报表参数,因为它具有正确的参数。
代码:
InitialContext itc = new InitialContext();
Render r = new Render(); // just to fill in the
ReportExecutionService exec = (ReportExecutionService)itc.lookup("java:comp/env/SSRS_WS_Proxy_ReportExecution2005");
ReportExecutionServiceSoap exec_port = (ReportExecutionServiceSoap)exec.getLogicalPort("ReportExecutionServiceSoap", ReportExecutionService.class);
exec_port.render(r); //obviously not going to work without the correct parameters
// and r is just to show the type of parameter it takes