ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From claudio cacciari <c.cacci...@cineca.it>
Subject assign with one copy and multiple to
Date Fri, 25 Apr 2008 16:06:43 GMT
Hi All,

I have executed the bpel in attachment with ODE 1.1.1 deployed inside 
ServiceMix 3.1.
It works but, the assigns with multiple to:

                    <assign name="d3_template_filename">
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/xsd/grid/applications/PAAM/2.0">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:paam="http://www.a-ware.org/xsd/grid/applications/PAAM/2.0">$n0_PAAM_data_in.body/paam:template</to>
                            <to 
xmlns:icem="http://www.a-ware.org/xsd/grid/applications/ICEMCFD/2.0">$n1_IcemCFD_data_in.body/icem:template</to>
                            <to 
xmlns:mail="http://www.a-ware.org/xsd/grid/applications/MAILLATOOLS/2.0">$n4_maillatools_data_in.body/mail:template</to>
                            <to 
xmlns:anad="http://www.a-ware.org/xsd/grid/applications/ANADEL/2.0">$n2_ANADEL_data_in.body/anad:template</to>
                            <to 
xmlns:mov="http://www.a-ware.org/xsd/grid/applications/MOVE_D01/2.0">$n3_MOVE_D01_data_in.body/mov:template</to>
                        </copy>

In this case ODE performs a copy only to the first "to" 
($n0_PAAM_data_in) and ignores the others without any message or exception.
Is it correct ?
Did I write something wrong in the bpel code ?
I have tried also to modify it in that way:

<assign name="d3_template_filename">
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">$n0_PAAM_data_in.body/paam:template</to>
                        </copy>
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:icem="http://www.a-ware.org/grid/applications/icemcfd-2_0/xsd">$n1_IcemCFD_data_in.body/icem:template</to>
                        </copy>
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:mail="http://www.a-ware.org/grid/applications/maillatools-2_0/xsd">$n4_maillatools_data_in.body/mail:template</to>
                        </copy>
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:anad="http://www.a-ware.org/grid/applications/anadel-2_0/xsd">$n2_ANADEL_data_in.body/anad:template</to>
                        </copy>
                        <copy>
                            <from 
variable="ProcessInstantiation_data_out" part="body" 
xmlns:paam="http://www.a-ware.org/grid/applications/paam-2_0/xsd">
                                <query>paam:template[$counter0 + 1]</query>
                            </from>
                            <to 
xmlns:mov="http://www.a-ware.org/grid/applications/move_d01-2_0/xsd">$n3_MOVE_D01_data_in.body/mov:template</to>
                        </copy>
                    </assign>

but with the same result.

Best Regards,
Claudio

-- 
----------------------------------------
Claudio Cacciari - c.cacciari@cineca.it
System and Technology Department
CINECA - http://www.cineca.it


Mime
View raw message