使用SAP Integration Suite连接到非SAP应用程序
使用SAP Integration Suite连接到非SAP应用程序:1 - 场景介绍
使用SAP Integration Suite连接到非SAP应用程序:2 - 准备Integration Suite租户
使用SAP Integration Suite连接到非SAP应用程序:3 - 建立Outlook和Open Connectors连接
使用SAP Integration Suite连接到非SAP应用程序:4 - 创建Integration Flow连接Open Connectors
使用SAP Integration Suite连接到非SAP应用程序:5 - 测试集成场景
创建Integration Flow连接Open Connectors
1. 创建Integration包和Integration Flow
1.1 创建Integration Package
所有的Integration Flow必须关联一个Integration Package
- 在Integration Suite这也,选择左边菜单中的“设计->集成和API”,点击右上角的“创建”按钮。
- 在"标题"页签,输入“名称” 和“短描述” ,点击“保存” 按钮。
技术标识会根据你输入的名称自动填充。
1.2 创建Integration Flow
- 切换到“部件”页签,点击“添加”,在下拉选项中选择“Integration Flow”
- 输入“名称”和“描述”,点击“确定”
标识会根据你输入的名称自动填充。
- 点击部件“contacts”,打开这个Integration Flow
4. 点击“恢复”按钮可以查看属性点击空白处,查看的是Integration Flow的属性,点击组件是看到各个组件对用的属性。
2. 创建Sender Channel
创建一个基于HTTPS Adapter的Sender Channel。
-
点击右上角编辑按钮,开始编辑Integration Flow。
-
选中 Sender后,会出现一个箭头,拖动这个箭头到Start
3. 拖拽成功后,会弹出选择适配器类型,我们选择HTTPS。
3. 查看HTTPS适配器的属性。 在COnnection页签的Address输入/GetContacts
您可以随便输入其他的端点名称,但请确保在指定端点名称之前使用“/”符号。取消选中CSRF保护复选框(默认情况下会选中此复选框)。
3. 创建请求回复
3.1 创建请求回复组件
- 在上方的工具栏中,选择调用->外部调用->请求回复, 移动鼠标,将请求回复组件放在Start和End中间。
- 拖拽请求回复组件右侧的箭头到Receiver上
3. 在弹出的选择适配器类型中,选择OpenConnectors
3.2 配置OpenConnectors属性
切换到Connection页签
- 在 Base URI中输入请求地址,将之前Open Connnectors模拟测试时的URL复制过来,只保留到/api-v2.
- 在Credential Name选择之前定义的Secret Material
3. 选择Resource
4. Method选择GET,其他字段默认,点击保存
4. 部署Integration Flow
创建好的Integration Flow需要部署之后才能使用。
4.1 部署
点击部署按钮发布Integration Flow。可以通过Integration Flow的部署状态检查Integration Flow是否部署成功。
## 4.2 检查部署状态
部署成功后,部署状态变为已启动
部署成功后,在下一章节,我们将进行用Postman或者APIPost调用发布的端点,从Outlook读取数据。