WSO2 ESB DSS 集成,将多条记录发送到 DSS

WSO2 ESB DSS Integration, sending multiple records to DSS

我有一个要求,我必须通过 WSO2 DSS.

ESB 4.8.1 中的多个值插入 Oracle Database table

Oracle DB table(学生)由以下字段组成

1) Id
2) Name
3) Class
4) School Name

DSS 能否接收包含多条记录(200 个学生详细信息)的 SOAP 请求并插入到数据库中?

期待必要的帮助

是的,这是可能的。 在数据服务配置中只需添加:enableBatchRequests="true"。

看看https://dzone.com/articles/wso2-dss-batch-insert-sample

批处理请求功能允许您使用 WSO2 DSS(数据服务服务器)中的单个操作(批处理操作)向数据源发送多个(IN-Only)请求。您可以通过以下link中的示例获得清晰的图片。 https://docs.wso2.com/display/DSS351/Invoking+an+Operation+with+Multiple+Records

此外,请求框功能允许您使用 WSO2 DSS 中的单个操作对数据源调用多个操作(连续)。见下文link.

https://docs.wso2.com/display/DSS351/Invoking+Multiple+Operations+via+Request+Box

现在您可以在 WSO2 EI(企业集成器)中一起使用这些功能 (ESB+DSS)。检查 https://docs.wso2.com/display/EI611/Data+Integration and https://docs.wso2.com/display/EI611/Upgrading+from+WSO2+Data+Services+Server