...
In BPEL, endpoint references (EPRs) are modeled as partner link roles. When defining a partner link, two roles that can be defined are myRole
and partnerRole
:
...
Package it with the BPEL process. A sample tree structure of the BPEL package is given below.
In the deploy.xml file, you can specify the file path as follows:Code Block language html/xml <endpoint xmlns="http://wso2.org/bps/bpel/endpoint/config" endpointReference="securedinvoke.epr" />
Store in the registry (config or governance registry). You can specify the file path in the deploy.xml file as follows:
Code Block language html/xml <endpoint xmlns="http://wso2.org/bps/bpel/endpoint/config" endpointReference="conf:/securedinvoke.epr" /> OR <endpoint xmlns="http://wso2.org/bps/bpel/endpoint/config" endpointReference="gov:/securedinvoke.epr" />
Store in the file system. You can specify the file path relative to the CARBON_HOME as follows in the deploy.xml file as follows:
Code Block language html/xml <endpoint xmlns="http://wso2.org/bps/bpel/endpoint/config" endpointReference="./../../../../repository/conf/securedinvoke.epr" />
...