On 31 March 2010 18:42, Raidwan <[email protected]> wrote:
>
> Hi all,
>
> Does anyone now how to Call a Servicemix service directly from a BPEL
> process ?
I think you need something like this:
<bpws:assign>
<bpws:copy>
<bpws:from>
<bpws:literal>
<sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
<jbi:end-point-reference jbi:end-point-name="default"
jbi:service-name="bpel:EPRTest2"
xmlns:jbi="http://java.sun.com/jbi/end-point-reference"
xmlns:bpel="http://sample.bpel.org/bpel/sample"/>
</sref:service-ref>
</bpws:literal>
</bpws:from>
<bpws:to partnerLink="client"/>
</bpws:copy>
<bpws:copy>
<bpws:from>''</bpws:from>
<bpws:to>$input.data</bpws:to>
</bpws:copy>
</bpws:assign>
<bpws:invoke partnerLink="client" operation="opInOut"
inputVariable="input" outputVariable="output"/>
It's from ODE_1.X/jbi/src/test/resources/CommunicationJbiTest/EPRTest.bpel
Regards,
--
RafaĆ Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl