ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Panahi" <mpan...@gmail.com>
Subject array copy
Date Fri, 02 May 2008 02:37:50 GMT
I need to copy an array from an output variable to an intput variable. I am
able to copy hardcoded data to the input variable and send the data just
fine, like this:

                                        <ns31:street >street1</ns31:street>
                                        <ns31:city >city1</ns31:city>
                                        <ns31:street >street2</ns31:street>
                                        <ns31:city >city2</ns31:city>

                        <to variable="addresses"/>

However, I have no idea how to copy the data from the output variable to the
input variable.

The output message looks like this:

            <getAddressesReturn xsi:type="ns1:Address">
                <street xsi:type="xsd:string">street1</street>
                <city xsi:type="xsd:string">city1</city>
            <getAddressesReturn xsi:type="ns2:Address">
                <street xsi:type="xsd:string">street1</street>
                <city xsi:type="xsd:string">city1</city>

Is there a way get the length of the array and iterate through all the
elements to copy it over? I have not seen any tests in ODE that deal with



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message