第四章 介绍Productions - 连接选项 - 使用文件适配器的业务主机类

72 阅读2分钟

第四章 介绍Productions - 连接选项 - 使用文件适配器的业务主机类

使用适配器的业务主机类

针对特定场景 IRIS 提供专门的业务服务类和已经使用特定适配器的业务操作类:

  • File adapters

  • FTP adapters

  • HTTP and SOAP adapters

  • TCP adapters

要使用这些业务主机,通常不需要执行任何编码。

或实际原因,以下部分可能不会涵盖 IRIS 提供的所有专业业务主机类。要查找指定适配器的所有专用业务主机类,请在 Studio 中执行搜索,并在 EnsLib 包中查找参数 ADAPTER。然后,Studio 会显示类的名称,这些名称通常表明它们使用的是哪个适配器。

使用文件适配器的业务主机类

IRIS 提供使用文件适配器的业务主机类。下表总结了支持的内容类型并指出了在哪里可以找到信息。

File ContentsSee
EDIFACT documentsRouting EDIFACT Documents in Productions
X12 documentsRouting X12 Documents in Productions
XML documentsRouting XML Virtual Documents in Productions
Fixed-column or delimited text“Using the Record Mapper” and “Using the Complex Record Mapper” in Developing Productions
Any“Using the File Passthrough Service and Operation Classes” in Using File Adapters in Productions

使用 FTP 适配器的业务主机类

IRIS 提供使用 FTP 适配器的业务主机类。下表总结了支持的内容类型并指出了在哪里可以找到信息。

File ContentsSee
EDIFACT documentsRouting EDIFACT Documents in Productions'
X12 documentsRouting X12 Documents in Productions'
XML documentsRouting XML Virtual Documents in Productions'
Fixed-column or delimited text“Using the Record Mapper” and “Using the Complex Record Mapper” in Developing Productions
AnyEnsLib.FTP.PassthroughService and EnsLib.FTP.PassthroughOperation in the Class Reference

使用 HTTP 和 SOAP 适配器的业务主机类

IRIS 提供使用 HTTP 适配器的业务主机类。下表总结了支持的内容类型并指出了在哪里可以找到信息。

File ContentsSee
EDIFACT documentsRouting EDIFACT Documents in Productions'
Any“Pass-through Service and Operation Walkthrough” in Using a Production as an ESB

使用 TCP 适配器的业务主机类

IRIS 提供使用 TCP 适配器的业务主机类。下表总结了支持的内容类型并指出了在哪里可以找到信息。

File ContentsSee
X12 documentsRouting X12 Documents in Productions'
AnyEnsLib.TCP.PassthroughService and EnsLib.TCP.PassthroughOperation in the Class Reference

网关和外部服务器

IRIS 提供以下网关和外部服务器:

  • SQL 网关,它提供从 IRIS 通过 JDBCODBC 访问外部数据库。例如,可以链接到外部源中的表和视图,并以与访问任何本地数据相同的方式访问其中的数据。
  • 外部服务器允许实例化和操作用外部语言编写的对象,就好像它们是 IRIS 中的本地对象一样。在大多数情况下,使用 PEX 框架与来自产品的外部语言交互优于使用外部服务器提供的 $system.external 接口。