1

我正在尝试使用 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
4

0 回答 0