Hello,
it's a good question.
I added example here:
https://svn.apache.org/repos/asf/ode/trunk/axis2-war/src/test/resources/TestMultiPartMessage/
This worked:
<assign>
<copy>
<from><literal><message
xmlns=""><part1>abc1</part1><part2>abc2</part2></message></literal></from>
<to>$myVar2</to>
</copy>
</assign>
On Thu, Aug 19, 2010 at 9:27 PM, Łukasz Budnik <[email protected]> wrote:
> All,
>
> I have a simple question... Is it possible to create a >complete<
> message at runtime? Is it possible to do something like this:
>
> <bpel:copy>
> <bpel:from>
> <bpel:literal>
> <csn:computeParameters>
> <arg0>sulphuric acid</arg0>
> <arg1>24.0</arg1>
> </csn:computeParameters>
> </bpel:literal>
> </bpel:from>
> <bpel:to variable="inputMessage"/>
> </bpel:copy>
>
> It obviously fails because part attribute is missing. When I add part
> attribute, the <csn:computerParameters /> gets (as expected)
> substituted with relevant element defined in WSDL.
>
> thanks,
> Łukasz
>
--
Regards,
Rafał Rusin
http://rrusin.blogspot.com