该节为您提供了配置社区参与者环境的步骤。在本例中,该环境是用 WebSphere Business Integration Connect - Express 系统处理。在本章所提供的样本方案中,partnerTwo 使用 WebSphere Business Integration Connect - Express 通过 HTTP AS2 收发 EDI。
要通过 HTTP AS2 成功接收 EDI,请采取下列步骤:
作为第一步,您必须在 WebSphere Business Integration Connect - Express 中创建 Partner Two 的概要文件。要创建 Partner Two 的概要文件,请采取以下步骤:
接收方地址非安全域
|
IP_MACHINE_C
IP_MACHINE_C 是机器 C 的因特网协议(IP)地址,WebSphere Business Integration Connect - Express 运行在该机器上
|
接收方地址非安全端口
|
80
其中 80 是在安装过程中分配供 WebSphere Business Integration Connect - Express 使用的端口。
|
AS2 发送方标识
|
987654321
|
企业标识类型
|
DUNS
|
企业标识
|
987654321
|
必须将 Partner One 作为参与者标识到 WebSphere Business Integration Connect - Express 。要把 Partner One 创建为参与者,请采取下列步骤:
从“管理参与者”视图,您可以看到 partnerOne 的详细信息。
一旦存在 Partner One 的参与者,您必须配置 Partner One 以支持 AS2 和 HTTP。该配置标识了 WebSphere Business Integration Connect - Express 将 HTTP 与 AS2 发送到 partnerOne 以及从 partnerOne 接收 HTTP 和 AS2 所需的参数。
配置 partnerOne 以支持 HTTP 与 AS2,请执行下列步骤:
http://IP_MACHINE_B:7080/bcgreceiver/submit
IP_MACHINE_B 是机器 B 的 IP 地址。
用户名:partnerOne
密码:partnerOne
还记得吗?先前在机器 B 上的 WebSphere Business Integration Connect Enterprise Edition 中为 Partner Two 创建缺省网关的样本步骤中曾引用过这些信息。
http://IP_MACHINE_B:7080/bcgreceiver/submit