简体   繁体   中英

How to use Datasource configured in WSO2 BPS

I am new to WSO2 family ( WSS, ESB & BPS ).
Previously I did samples on creating datasource in WSO2 ESB and I have retrieved data from datasource using DBLookup in WSO2 ESB .
Now I have configured datasource in WSO2 BPS(from UI) and it is successfully connected to the database.
How Can I use the datasource that I configured in BPS in BPEL Workflow ?
Please someone guide through it.
Thanks in Advance.

Please refer the doucumentation[1] which shows how to define a datasource and refer [2] which shows how to configure datasource in bps.xml

[1] http://docs.wso2.org/wiki/display/BPS300/Adding+RDBMS+Data+Sources#AddingRDBMSDataSources-jndi

[2] http://docs.wso2.org/wiki/display/BPS300/ODE+Configurations#ODEConfigurations-DataSource

I think the better approach would be to use WSO2 Data Services Server and create Data Service using the data source. (You can define the data source in Data Services server). After that you can call them using the BPS. Please refer following tutorial on such a comprehensive tutorial.

http://docs.wso2.org/wiki/display/DVS300/Retail+Banking+Sample

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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