Hi, Luciano Resende
Thanks a lot,
It's cool, and works very well.
----- -----
From: Luciano Resende [mailto:[EMAIL PROTECTED]
Date: 2008/8/29 12:01
To: [email protected]
Subject: Re: how to access another SCA Component in BPEL
This is demonstrated in the following bpel-reference iTest [1]. In
this case, we have a grretings java component, and then a BPEL
component that have a reference to this service as described in the
composite below.
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://bpel"
xmlns:hns="http://helloworld"
name="helloworld">
<component name="HelloWorldService">
<implementation.bpel process="hns:HelloWorld"/>
<reference name="greetingsPartnerLink"
target="GreetingsServiceComponent"/>
</component>
<component name="GreetingsServiceComponent">
<implementation.java class="greetings.GreetingsServiceImpl" />
<service name="GreetingsService">
<interface.wsdl
interface="http://greetings#wsdl.interface(Greetings)" />
</service>
</component>
</composite>
Please let me know if you have questions or any problems running the
sample test scenario.
[1]
https://svn.apache.org/repos/asf/tuscany/java/sca/itest/bpel/helloworld-refe
rence/
On Thu, Aug 28, 2008 at 8:21 PM, xuhongbo <[EMAIL PROTECTED]> wrote:
> Hi
> Now I am using the sca provided build in bpel engine, and want to
> invoke another sca-component in the bpel process;
> Though I could deploy the -java-implement sca component as
> web-service by ws binding,then access it in bpel by import a wsdl process.
> This way ask for all sca-java-componet deployed as web-service, and seems
> too trival for deployment.
> So does anyone know how to use a sca-reference in a BPEL implement
> component to access another sca component? Or some other mechanism can
> direct access sca-component? Typically sca component invoked by the bpel
is
> always implement as Java Language.
>
> Thanks
>
>
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/