-
1. Re: Is it possible to construct a bpel process consisting of SCA services?
jorgemoralespou_2 Apr 30, 2014 3:53 PM (in response to itomer)HI itomer,
bpel is a type of component in the SCA container, which is SwitchYard. bpel components are run with riftsaw engine, but the interactions between components, in the SCA composite are handled by SwitchYard.
All these components can be exposed for consumption (services) or can call another services (references). These services/references need to have an interface that define their contract, whether is java or wsdl, and will interact to the outside world via a binding, that defines the communications channel/protocol.
a Bpel service will invoke another components (partnerlinks) usually defined with a wsdl contract, and these components can be defined in the same composite application, or in other application, in which case, communications between these two composites can be using SCA bindings. So yes, answer is BPEL can call/use/invoke services/components exposed via an SCA binding.
not only our product does it, as you mention, most SCA implementations that have bpel components will be able to communicate via their SCA binding. But this binding is implementation specific, so SwitchYard can only use Switchyard's SCA components.
I hope I have helped you to clarify your understandings.
-
2. Re: Is it possible to construct a bpel process consisting of SCA services?
itomer Apr 30, 2014 5:48 PM (in response to jorgemoralespou_2)Hi Jorge,
Is there an example of BPEL calling SCA component in SwitchYard? In the downloaded package, or somewhere else.
Thank you.
-
3. Re: Is it possible to construct a bpel process consisting of SCA services?
rcernich Apr 30, 2014 6:53 PM (in response to itomer)Have a look at the bpel-loan-approval quickstart. The loanService invokes the riskAssessor service through a reference. The invoke/service in the deploy.xml identifies the SwitchYard service that will be invoked for the specified partner link. Notice that the QNames for the services in the deploy.xml match the QNames for the services in the switchyard.xml file.
Hope that helps.
Rob