Author: jbonofre
Date: Wed Dec 9 20:56:56 2009
New Revision: 888966
URL: http://svn.apache.org/viewvc?rev=888966&view=rev
Log:
[SM-1885] Update the ODE archetype to provide updated resources.
Modified:
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.bpel
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.wsdl
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
Modified:
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.bpel
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.bpel?rev=888966&r1=888965&r2=888966&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.bpel
(original)
+++
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.bpel
Wed Dec 9 20:56:56 2009
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,32 +16,52 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<bpws:process
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:hello="urn:/HelloWorld2-RPC.wsdl" xmlns:tns="urn:/HelloWorld2-RPC.bpel"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" exitOnStandardFault="yes"
name="HelloWorld2-RPC" targetNamespace="urn:/HelloWorld2-RPC.bpel">
-<bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
location="HelloWorld2-RPC.wsdl" namespace="urn:/HelloWorld2-RPC.wsdl"/>
-<bpws:partnerLinks>
-<bpws:partnerLink myRole="Provider" name="helloPartnerLink"
partnerLinkType="hello:HelloPartnerLinkType"/>
-</bpws:partnerLinks>
-<bpws:variables>
-<bpws:variable messageType="hello:HelloRequest" name="request"/>
-<bpws:variable messageType="hello:HelloResponse" name="response"/>
-<bpws:variable name="text" type="xsd:string"/>
-</bpws:variables>
-<bpws:sequence>
-<bpws:receive createInstance="yes" name="start" partnerLink="helloPartnerLink"
portType="hello:HelloPortType"/>
-<bpws:assign name="assignFromRequestToVariable" validate="yes">
-<bpws:copy>
-<bpws:from part="text" variable="request"/>
-<bpws:to variable="text"/>
-</bpws:copy>
-</bpws:assign>
-<bpws:assign name="assignFromVariableToResponse" validate="no">
-<bpws:copy>
-<bpws:from>
-<bpws:expression></bpws:expression>
-</bpws:from>
-<bpws:to part="text" variable="response"/>
-</bpws:copy>
-</bpws:assign>
-<bpws:reply name="end" operation="Hello" partnerLink="helloPartnerLink"
portType="hello:HelloPortType" variable="response"/>
-</bpws:sequence>
-</bpws:process>
+<process name="HelloWorld2-RPC"
+ targetNamespace="urn:/HelloWorld2-RPC.bpel"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tns="urn:/HelloWorld2-RPC.bpel"
+ xmlns:hello="urn:/HelloWorld2-RPC.wsdl"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <import location="HelloWorld2-RPC.wsdl"
+ namespace="urn:/HelloWorld2-RPC.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <partnerLinks>
+ <partnerLink name="HelloPartnerLink"
+ partnerLinkType="hello:HelloPartnerLinkType"
+ myRole="Provider"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request" messageType="hello:HelloRequest"/>
+ <variable name="response" messageType="hello:HelloResponse"/>
+ <variable name="text" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive name="start"
+ partnerLink="helloPartnerLink"
+ portType="hello:HelloPortType"
+ operation="Hello"
+ variable="request"
+ createInstance="yes"/>
+
+ <assign name="assign1">
+ <copy>
+ <from>$request.text</from>
+ <to variable="text"/>
+ </copy>
+ <copy>
+ <from>concat($text,' World')</from>
+ <to>$response.text</to>
+ </copy>
+ </assign>
+
+ <reply name="end"
+ partnerLink="helloPartnerLink"
+ portType="hello:HelloPortType"
+ operation="Hello"
+ variable="response"/>
+ </sequence>
+</process>
Modified:
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.wsdl
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.wsdl?rev=888966&r1=888965&r2=888966&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.wsdl
(original)
+++
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/HelloWorld2-RPC.wsdl
Wed Dec 9 20:56:56 2009
@@ -20,7 +20,7 @@
targetNamespace="urn:/HelloWorld2-RPC.wsdl"
xmlns:tns="urn:/HelloWorld2-RPC.wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/">
Modified:
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
URL:
http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml?rev=888966&r1=888965&r2=888966&view=diff
==============================================================================
---
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
(original)
+++
servicemix/archetypes/trunk/servicemix-ode-service-unit/src/main/resources/archetype-resources/src/main/resources/deploy.xml
Wed Dec 9 20:56:56 2009
@@ -16,7 +16,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
xmlns:pns="urn:/HelloWorld2-RPC.bpel"
xmlns:sns="urn:/HelloWorld2-RPC.wsdl">
<process name="pns:HelloWorld2-RPC">