You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2006/07/19 02:33:34 UTC
svn commit: r423308 - in
/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong:
ping/Ping.bpel pong/Pong.bpel
Author: boisvert
Date: Tue Jul 18 17:33:34 2006
New Revision: 423308
URL: http://svn.apache.org/viewvc?rev=423308&view=rev
Log:
Use BPEL 2.0 syntax and fix some assignment namespace issues
Modified:
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/ping/Ping.bpel
incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/pong/Pong.bpel
Modified: incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/ping/Ping.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/ping/Ping.bpel?rev=423308&r1=423307&r2=423308&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/ping/Ping.bpel (original)
+++ incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/ping/Ping.bpel Tue Jul 18 17:33:34 2006
@@ -47,22 +47,24 @@
<assign name="assignPongRequest">
<!-- add "ping" text to the input text -->
<copy>
- <from>concat($pingRequest.body/text, ' ping ')</from>
+ <from>concat($pingRequest.body/ping:text, ' ping')</from>
<to variable="text"/>
</copy>
<!-- initialize pongRequest -->
<copy>
<from>
<literal>
- <pong:text/>
+ <pong:PongRequest>
+ <pong:text/>
+ </pong:PongRequest>
</literal>
</from>
- <to variable="pongRequest" part="body"/>
+ <to>$pongRequest.body</to>
</copy>
<!-- copy new text into pongRequest -->
<copy>
<from>$text</from>
- <to>$pongRequest.body/text</to>
+ <to>$pongRequest.body/pong:text</to>
</copy>
</assign>
@@ -75,22 +77,24 @@
<assign name="assignPingResponse">
<copy>
- <from>$pongResponse.body/text</from>
- <to variable="text"/>
+ <from>$pongResponse.body/pong:text</from>
+ <to>$text</to>
</copy>
<!-- initialize pingResponse -->
<copy>
<from>
<literal>
- <ping:text/>
+ <ping:PingResponse>
+ <ping:text/>
+ </ping:PingResponse>
</literal>
</from>
- <to variable="pingResponse" part="body"/>
+ <to>$pingResponse.body</to>
</copy>
<!-- copy new text into pingResponse -->
<copy>
<from>$text</from>
- <to>$pingResponse.body/text</to>
+ <to>$pingResponse.body/ping:text</to>
</copy>
</assign>
Modified: incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/pong/Pong.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/pong/Pong.bpel?rev=423308&r1=423307&r2=423308&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/pong/Pong.bpel (original)
+++ incubator/ode/scratch/pxe-iapi/jbi-examples/src/examples/PingPong/pong/Pong.bpel Tue Jul 18 17:33:34 2006
@@ -40,22 +40,24 @@
<assign name="assignPongRequest">
<!-- add "ping" text to the input text -->
<copy>
- <from>concat($pongRequest.body/text, ' pong ')</from>
- <to variable="text"/>
+ <from>concat($pongRequest.body/pong:text, ' pong')</from>
+ <to>$text</to>
</copy>
<!-- initialize pongResponse -->
<copy>
<from>
<literal>
- <pong:text/>
+ <pong:PongRequest>
+ <pong:text/>
+ </pong:PongRequest>
</literal>
</from>
- <to variable="pongResponse" part="body"/>
+ <to>$pongResponse.body</to>
</copy>
<!-- copy new text into pongResponse -->
<copy>
<from>$text</from>
- <to>$pongResponse.body/text</to>
+ <to>$pongResponse.body/pong:text</to>
</copy>
</assign>