summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping')
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/deploy.xml35
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.bpel124
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.componentType36
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.composite29
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.wsdl84
-rw-r--r--branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/pong.wsdl84
6 files changed, 0 insertions, 392 deletions
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/deploy.xml b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/deploy.xml
deleted file mode 100644
index 613ed9c491..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/deploy.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
- xmlns:process="http://tuscany.apache.org/implementation/bpel/example/ping.bpel"
- xmlns:ping="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- xmlns:pong="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl">
-
- <process name="process:Ping">
- <active>true</active>
- <provide partnerLink="PingPartnerLink">
- <service name="ping:PingService" port="PingPort"/>
- </provide>
- <invoke partnerLink="PongPartnerLink">
- <service name="pong:PongService" port="PongPort"/>
- </invoke>
- </process>
-
-</deploy>
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.bpel b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.bpel
deleted file mode 100644
index abda9e58d2..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.bpel
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<process
- name="Ping"
- xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- targetNamespace="http://tuscany.apache.org/implementation/bpel/example/ping.bpel"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/ping.bpel"
- xmlns:ping="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- xmlns:pong="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl"
- expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
-
- <import location="ping.wsdl"
- namespace="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/" />
-
- <import location="pong.wsdl"
- namespace="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl"
- importType="http://schemas.xmlsoap.org/wsdl/" />
-
- <partnerLinks>
- <partnerLink name="PingPartnerLink"
- partnerLinkType="ping:PingPartnerLinkType"
- myRole="Provider" />
- <partnerLink name="PongPartnerLink"
- partnerLinkType="pong:PongPartnerLinkType"
- partnerRole="Provider"
- initializePartnerRole="yes" />
- </partnerLinks>
-
- <variables>
- <variable messageType="ping:PingRequest" name="pingRequest"/>
- <variable messageType="ping:PingResponse" name="pingResponse"/>
- <variable messageType="pong:PongRequest" name="pongRequest"/>
- <variable messageType="pong:PongResponse" name="pongResponse"/>
- <variable type="xsd:string" name="text" />
- </variables>
-
- <sequence name="Main">
- <receive name="pingReceive"
- createInstance="yes"
- operation="Ping"
- partnerLink="PingPartnerLink"
- portType="ping:PingPortType"
- variable="pingRequest"/>
-
- <assign name="assignPongRequest">
- <!-- add "ping" text to the input text -->
- <copy>
- <from>concat($pingRequest.body/ping:text, ' ping')</from>
- <to variable="text"/>
- </copy>
- <!-- initialize pongRequest -->
- <copy>
- <from>
- <literal>
- <pong:PongRequest>
- <pong:text/>
- </pong:PongRequest>
- </literal>
- </from>
- <to>$pongRequest.body</to>
- </copy>
- <!-- copy new text into pongRequest -->
- <copy>
- <from>$text</from>
- <to>$pongRequest.body/pong:text</to>
- </copy>
- </assign>
-
- <invoke name="invokePong"
- operation="Pong"
- inputVariable="pongRequest"
- outputVariable="pongResponse"
- partnerLink="PongPartnerLink"
- portType="pong:PongPortType"/>
-
- <assign name="assignPingResponse">
- <copy>
- <from>$pongResponse.body/pong:text</from>
- <to>$text</to>
- </copy>
- <!-- initialize pingResponse -->
- <copy>
- <from>
- <literal>
- <ping:PingResponse>
- <ping:text/>
- </ping:PingResponse>
- </literal>
- </from>
- <to>$pingResponse.body</to>
- </copy>
- <!-- copy new text into pingResponse -->
- <copy>
- <from>$text</from>
- <to>$pingResponse.body/ping:text</to>
- </copy>
- </assign>
-
- <reply name="pingReply"
- partnerLink="PingPartnerLink"
- portType="ping:PingPortType"
- operation="Ping"
- variable="pingResponse"/>
- </sequence>
-</process>
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.componentType b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.componentType
deleted file mode 100644
index 7598a99d16..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.componentType
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <reference name="Pong">
- <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl#wsdl.interface(PongPortType)" />
- </reference>
-
- <service name="PingService">
- <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl#wsdl.interface(PingPortType)" />
- </service>
-
- <service name="PongService">
- <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl#wsdl.interface(PongPortType)" />
- </service>
-</componentType> \ No newline at end of file
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.composite b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.composite
deleted file mode 100644
index 75eed03022..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.composite
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- targetNamespace="http://bpel"
- xmlns:ping="http://tuscany.apache.org/implementation/bpel/example/ping.bpel"
- name="ping">
-
- <component name="BPELPingComponent">
- <implementation.bpel process="ping:Ping"/>
- </component>
-</composite> \ No newline at end of file
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.wsdl b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.wsdl
deleted file mode 100644
index 03e54c4de8..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/ping.wsdl
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<definitions name="Ping"
- targetNamespace="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns="http://schemas.xmlsoap.org/wsdl/">
-
- <types>
- <schema targetNamespace="http://tuscany.apache.org/implementation/bpel/example/ping.wsdl"
- xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="PingRequest">
- <complexType>
- <all>
- <element name="text" type="string"/>
- </all>
- </complexType>
- </element>
- <element name="PingResponse">
- <complexType>
- <all>
- <element name="text" type="string"/>
- </all>
- </complexType>
- </element>
- </schema>
- </types>
-
- <message name="PingRequest">
- <part name="body" element="tns:PingRequest"/>
- </message>
-
- <message name="PingResponse">
- <part name="body" element="tns:PingResponse"/>
- </message>
-
- <portType name="PingPortType">
- <operation name="Ping">
- <input message="tns:PingRequest"/>
- <output message="tns:PingResponse"/>
- </operation>
- </portType>
-
- <binding name="PingSoapBinding" type="tns:PingPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Ping">
- <soap:operation soapAction="" />
- <input name="PingRequest">
- <soap:body use="literal" />
- </input>
- <output name="PingResponse">
- <soap:body use="literal" />
- </output>
- </operation>
- </binding>
-
- <service name="PingService">
- <port name="PingPort" binding="tns:PingSoapBinding">
- <soap:address location="http://localhost:8085/ode/processes/ping" />
- </port>
- </service>
-
- <plnk:partnerLinkType name="PingPartnerLinkType">
- <plnk:role name="Provider" portType="tns:PingPortType"/>
- </plnk:partnerLinkType>
-</definitions> \ No newline at end of file
diff --git a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/pong.wsdl b/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/pong.wsdl
deleted file mode 100644
index 1f4c4a9aaa..0000000000
--- a/branches/sca-java-1.1/modules/implementation-bpel/src/test/resources/ping/pong.wsdl
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<definitions name="Pong"
- targetNamespace="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl"
- xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns="http://schemas.xmlsoap.org/wsdl/">
-
- <types>
- <schema targetNamespace="http://tuscany.apache.org/implementation/bpel/example/pong.wsdl"
- xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="PongRequest">
- <complexType>
- <all>
- <element name="text" type="string"/>
- </all>
- </complexType>
- </element>
- <element name="PongResponse">
- <complexType>
- <all>
- <element name="text" type="string"/>
- </all>
- </complexType>
- </element>
- </schema>
- </types>
-
- <message name="PongRequest">
- <part name="body" element="tns:PongRequest"/>
- </message>
-
- <message name="PongResponse">
- <part name="body" element="tns:PongResponse"/>
- </message>
-
- <portType name="PongPortType">
- <operation name="Pong">
- <input message="tns:PongRequest"/>
- <output message="tns:PongResponse"/>
- </operation>
- </portType>
-
- <binding name="PongSoapBinding" type="tns:PongPortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="Pong">
- <soap:operation soapAction=""/>
- <input name="PongRequest">
- <soap:body use="literal"/>
- </input>
- <output name="PongResponse">
- <soap:body use="literal"/>
- </output>
- </operation>
- </binding>
-
- <service name="PongService">
- <port name="PongPort" binding="tns:PongSoapBinding">
- <soap:address location="http://localhost:8085/ode/processes/pong"/>
- </port>
- </service>
-
- <plnk:partnerLinkType name="PongPartnerLinkType">
- <plnk:role name="Provider" portType="tns:PongPortType"/>
- </plnk:partnerLinkType>
-</definitions>