Author: mriou
Date: Thu Sep  7 14:48:46 2006
New Revision: 441246

URL: http://svn.apache.org/viewvc?view=rev&rev=441246
Log:
Fixing.

Modified:
    incubator/ode/trunk/axis2-examples/src/examples/HelloWorld2/HelloWorld2.bpel

Modified: 
incubator/ode/trunk/axis2-examples/src/examples/HelloWorld2/HelloWorld2.bpel
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/axis2-examples/src/examples/HelloWorld2/HelloWorld2.bpel?view=diff&rev=441246&r1=441245&r2=441246
==============================================================================
--- 
incubator/ode/trunk/axis2-examples/src/examples/HelloWorld2/HelloWorld2.bpel 
(original)
+++ 
incubator/ode/trunk/axis2-examples/src/examples/HelloWorld2/HelloWorld2.bpel 
Thu Sep  7 14:48:46 2006
@@ -20,10 +20,11 @@
     
    <variables>
      <variable name="myVar" messageType="test:HelloMessage"/>
+     <variable name="tmpVar" type="xsd:string"/>
    </variables>
-        
-   <sequence>   
-       <receive 
+
+   <sequence>
+       <receive
           name="start"
           partnerLink="helloPartnerLink"
           portType="test:HelloPortType"
@@ -32,10 +33,14 @@
           createInstance="yes"/>
 
       <assign name="assign1">
-         <copy>
-             <from>concat($myVar.TestPart,' World')</from>
-             <to>$myVar.TestPart</to>
-         </copy>
+          <copy>
+              <from variable="myVar" part="TestPart"/>
+              <to variable="tmpVar"/>
+          </copy>
+          <copy>
+              <from>concat($tmpVar,' World')</from>
+              <to variable="myVar" part="TestPart"/>
+          </copy>
       </assign>
        <reply name="end"  
               partnerLink="helloPartnerLink"


Reply via email to