0

一般来说,我是 SQL Server Reporting Services 和 Web 服务的新手。我正在尝试按照本教程将 java 与 SSRS Web 服务集成:http ://www.craigsprogramming.com/2011/03/how-to-integrate-java-with-microsoft_4178.html 。

我使用 wsimport 实用程序从服务器的 ReportExecution2005 wsdl 文件生成了代理类。我得到了大多数类,例如 ReportExecutionService 和 ReportExecutionServiceSoap。但是,我似乎缺少本教程(以及其他教程/示例)中使用的 ReportExecutionServiceSoapStub 类。我有相同版本的 ReportExecutionService。

“导入 com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.*;” 不包含 ReportExecutionServiceSoapStub 类

有人知道为什么会这样吗?这对我来说很新,所以任何帮助将不胜感激。谢谢!

4

1 回答 1

0

所以我发现当 Axis 将 wsdl 转换为代理类时,Stub 类是由 Apache Axis 生成的。我用 wsimport 生成了它们。

于 2013-08-15T19:52:34.313 回答