简体   繁体   English

TIBCO BW 5 读取 Excel 文件

[英]TIBCO BW 5 Read Excel file

I would ask you if is there some way to read an excel file(.xls) using TIBCO BW 5.我会问你是否有某种方法可以使用 TIBCO BW 5 读取 excel 文件 (.xls)。

Till now I'm made this in three different ways:到目前为止,我用三种不同的方式做了这个:

1: As convert excel file(.xls) to CSV file. 1:将excel文件(.xls)转换为CSV文件。

2: As.xls as an XML file 2:as.xls为XML文件

3: As custom Java code, that reads Excel files, using Apache library(Poi) 3:作为自定义 Java 代码,读取 Excel 个文件,使用 Apache 库(Poi)

Unfortunately, there is no Excel plug-in for TIBCO BW 5. Or I cannot find it:(不幸的是,TIBCO BW 5 没有 Excel 插件。或者我找不到它:(

Another way that I found, is that I could use Windows ODBC - everything is configured, but after I add the rt.jar file, still can not make a connection with TIBCO Designer.我发现的另一种方法是,我可以使用 Windows ODBC - 一切都已配置,但在我添加 rt.jar 文件后,仍然无法与 TIBCO Designer 建立连接。

Every time It throws this exception:每次它抛出这个异常:

< < 在此处输入图像描述 > >

Thank you in advance for your help.预先感谢您的帮助。

On TIBCO BW 5.X projects the following solutions are commonly used:在 TIBCO BW 5.X 项目上,通常使用以下解决方案:

1: Convert excel file(.xls) to CSV file. 1:将excel文件(.xls)转换为CSV文件。 3: Custom Java code, that reads Excel files, using Apache library(Poi) 3:自定义Java代码,读取Excel个文件,使用Apache库(Poi)

In a BusinessWorks 6.X context you can use the EXCEL plugin that is using the apache POI library.在 BusinessWorks 6.X 上下文中,您可以使用 EXCEL 插件,该插件使用 apache POI 库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM