Hi,
I'm able to get the BPEL itest passing using the following assignment
(r791649):
<assign name="assign1">
<copy>
<from>concat($helloMessage.TestPart/test:message/text(), '
World')</from>
<to variable="tmpVar"/>
</copy>
<!-- Initialize the response -->
<copy>
<from>
<literal>
<test:helloResponse>
<test:messageResponse>Dummy</test:messageResponse>
</test:helloResponse>
</literal>
</from>
<to variable="helloMessageResponse" part="TestResponse"/>
</copy>
<copy>
<from variable="tmpVar"/>
<to>$helloMessageResponse.TestResponse/test:messageResponse</to>
</copy>
</assign>
Please note if the response message is not initialized, then ODE complains
that $helloMessageResponse.TestResponse/test:messageResponse is not a valid
expression. Maybe there is a better way to do so. Please feel free to refine
it.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[email protected]>
Sent: Thursday, July 02, 2009 12:14 PM
To: <[email protected]>
Subject: Re: BPEL Sample - Does anyone think it is Correct???
Well, looks like now we have the BPEL Helloworld sample, thanks to all
that jump on helping..... but the iTests that I was bringing up and
were working, are failing now. I have committed the changes to 2.x
trunk, and will try to further apply these changes to the iTests, as
simply modifying the BPEL files as Raymond did is not working for me
as of now.
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/