ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Rusin <ra...@intalio.com>
Subject Re: creating message at runtime
Date Fri, 20 Aug 2010 12:01:29 GMT
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 <lukasz.budnik@gmail.com> 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

Mime
View raw message