You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/07/02 01:50:33 UTC
svn commit: r790422 -
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel
Author: rfeng
Date: Wed Jul 1 23:50:33 2009
New Revision: 790422
URL: http://svn.apache.org/viewvc?rev=790422&view=rev
Log:
Update bpel to create the WSDL/XSD conforming response
Modified:
tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel
Modified: tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel?rev=790422&r1=790421&r2=790422&view=diff
==============================================================================
--- tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel (original)
+++ tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.bpel Wed Jul 1 23:50:33 2009
@@ -32,7 +32,7 @@
<partnerLinks>
<partnerLink name="helloPartnerLink" partnerLinkType="test:HelloPartnerLinkType" myRole="me" />
</partnerLinks>
-
+
<variables>
<variable name="myVar" messageType="test:HelloMessage"/>
<variable name="tmpVar" type="xsd:string"/>
@@ -49,17 +49,29 @@
<assign name="assign1">
<copy>
- <from variable="myVar" part="TestPart"/>
+ <from>concat($myVar.TestPart/test:message/text(), ' World')</from>
<to variable="tmpVar"/>
</copy>
+ <!--
<copy>
- <from>concat($tmpVar,' World')</from>
+ <from>
+ <literal>
+ <test:hello>
+ <test:message>$tmpVar</test:message>
+ </test:hello>
+ </literal>
+ </from>
<to variable="myVar" part="TestPart"/>
</copy>
+ -->
+ <copy>
+ <from>$tmpVar</from>
+ <to>$myVar.TestPart/test:message</to>
+ </copy>
</assign>
- <reply name="end"
+ <reply name="end"
partnerLink="helloPartnerLink"
- portType="test:HelloPortType"
+ portType="test:HelloPortType"
operation="hello"
variable="myVar"/>
</sequence>