ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: Init struct dynamically
Date Thu, 09 Feb 2012 16:56:20 GMT
Hi Rudy,

you could use an assign that uses "doXSLTransform" and invokes a XSL
script that does the initialization. XSL provides a for-each element
that can help to dynamically compose your XML. Alternatively you can use
ODE's xpath extension insert-before() or insert-after() along with a
foreach activity. However, this is probably more cumbersome than the
XSLT approach.


On 09.02.2012 17:50, Rudy Commenge wrote:
> Hi,
> I have developed a BPEL process which invoke a web service.
> The Web Service input struc, and a part of my BPEL Process input struct :
> <list>
>   <field1>...</field1> [1..x]
>   <field2>...</field2>
> </list>
> Before to assign values from BPEL process input struct to Web Service input
> struct, I need to initialize Web Service input struct.
> But as described above, the number of "field1" is not fixed.
> So, how to initialize my Web Service input struct dynamically ?
> Best regards.
> .

Tammo van Lessen - http://www.taval.de

View raw message