Author: rr
Date: Sat Mar 20 20:56:42 2010
New Revision: 925681

URL: http://svn.apache.org/viewvc?rev=925681&view=rev
Log:
Don't broadcast messages to retired processes - 2nd fix - test case

Added:
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest1.soap
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest2.soap
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml
   (with props)

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+
+package org.apache.ode.axis2.management;
+
+import org.apache.ode.axis2.Axis2TestBase;
+import static org.testng.AssertJUnit.assertTrue;
+import org.testng.annotations.Test;
+
+import javax.xml.namespace.QName;
+
+/**
+ * @author Matthieu Riou <[email protected]>
+ */
+public class Retire2Test extends Axis2TestBase {
+
+    @Test(dataProvider="configs")
+    public void testRetiredInstance() throws Exception {
+        String bundleName = "TestInstanceRetire2";
+        System.out.println("=> " + 
server.getODEServer().getProcessStore().getPackages());
+        if (server.isDeployed("1")) server.undeployProcess(bundleName + "/1");
+        if (server.isDeployed("2")) server.undeployProcess(bundleName + "/2");
+        
+        QName deployedQName = server.deployProcess(bundleName + 
"/1").iterator().next();
+
+        String response = 
server.sendRequestFile("http://localhost:8888/processes/testretire";,
+                bundleName + "/1", "testRequest1.soap");
+        assertTrue(response.indexOf("TEST1") > 0);
+
+        server.getODEServer().getProcessManagement().setRetired(deployedQName, 
true);
+        server.deployProcess(bundleName + "/2");
+        
+        response = 
server.sendRequestFile("http://localhost:8888/processes/testretire";,
+                bundleName + "/1", "testRequest2.soap");
+
+        System.out.println("###############################################");
+        System.out.println(response);
+        System.out.println("###############################################");
+        assertTrue(response.indexOf("TEST2") > 0);
+    }
+}

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/Retire2Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,66 @@
+<?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="TestRetire1"
+         targetNamespace="http://ode/bpel/test/retire";
+         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+         xmlns:tns="http://ode/bpel/responder";
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+         xmlns:resp="http://ode/bpel/test/retire/responder.wsdl";>
+
+    <import location="TestRetire.wsdl" 
namespace="http://ode/bpel/test/retire.wsdl";
+            importType="http://schemas.xmlsoap.org/wsdl/"; />
+
+    <partnerLinks>
+        <partnerLink name="testRetirePartnerLink" 
partnerLinkType="resp:TestRetirePartnerLinkType" myRole="responder"/>
+    </partnerLinks>
+
+    <variables>
+        <variable name="dummy" messageType="resp:TestRetireMessage"/>
+    </variables>
+
+    <correlationSets>
+        <correlationSet name="dummyCorr" properties="resp:dummyProp" />
+    </correlationSets>
+
+    <sequence>
+        <receive name="start" partnerLink="testRetirePartnerLink" 
variable="dummy" operation="first" createInstance="yes">
+            <correlations>
+                <correlation set="dummyCorr" initiate="yes"/>
+            </correlations>
+        </receive>
+        <reply name="reply-endpoint" partnerLink="testRetirePartnerLink" 
operation="first" variable="dummy"/>
+
+
+        <receive name="second" partnerLink="testRetirePartnerLink" 
variable="dummy" operation="second">
+            <correlations>
+                <correlation set="dummyCorr" initiate="no"/>
+            </correlations>
+        </receive>
+        <assign>
+            <copy>
+                <from><literal>DONE</literal></from>
+                <to>$dummy.TestPart</to>
+            </copy>
+        </assign>
+        <reply name="reply-ack" partnerLink="testRetirePartnerLink" 
operation="second" variable="dummy"/>
+
+    </sequence>
+</process>

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.bpel
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,74 @@
+<?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.
+  -->
+
+<wsdl:definitions 
+    targetNamespace="http://ode/bpel/test/retire/responder.wsdl";
+    xmlns="http://schemas.xmlsoap.org/wsdl/";
+    xmlns:tns="http://ode/bpel/test/retire/responder.wsdl";
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
+    xmlns:dummy="http://axis2.ode.apache.org";
+    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype";
+    xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop";>
+
+    <wsdl:message name="TestRetireMessage">
+        <wsdl:part name="TestPart" type="xsd:string"/>
+    </wsdl:message>
+    
+    <wsdl:portType name="TestRetirePortType">
+        <wsdl:operation name="first">
+            <wsdl:input message="tns:TestRetireMessage" name="TestIn"/>
+            <wsdl:output message="tns:TestRetireMessage" name="TestOut"/>
+        </wsdl:operation>    
+        <wsdl:operation name="second">
+            <wsdl:input message="tns:TestRetireMessage" name="TestIn"/>
+            <wsdl:output message="tns:TestRetireMessage" name="TestOut"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    
+     <wsdl:binding name="TestRetireSoapBinding" type="tns:TestRetirePortType">
+        <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="first">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input><soap:body 
namespace="http://ode/bpel/test/retire/responder.wsdl"; 
use="literal"/></wsdl:input>
+            <wsdl:output><soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/></wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="second">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input><soap:body 
namespace="http://ode/bpel/test/retire/responder.wsdl"; 
use="literal"/></wsdl:input>
+            <wsdl:output><soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/></wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="TestRetireService">
+        <wsdl:port name="TestRetirePort" binding="tns:TestRetireSoapBinding">
+            <soap:address 
location="http://localhost:8888/ode/processes/testretire"/>
+        </wsdl:port>
+    </wsdl:service>
+    
+    <plnk:partnerLinkType name="TestRetirePartnerLinkType">
+        <plnk:role name="responder" portType="tns:TestRetirePortType"/>
+    </plnk:partnerLinkType>
+
+    <prop:property name="dummyProp" type="xsd:string"/>
+    <prop:propertyAlias propertyName="tns:dummyProp" 
messageType="tns:TestRetireMessage" part="TestPart"/>
+
+</wsdl:definitions>
+

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/TestRetire.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,29 @@
+<!--
+  ~ 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:pns="http://ode/bpel/test/retire";
+    xmlns:wns="http://ode/bpel/test/retire/responder.wsdl";>
+
+    <process name="pns:TestRetire1">
+        <active>true</active>
+        <provide partnerLink="testRetirePartnerLink">
+            <service name="wns:TestRetireService" port="TestRetirePort"/>
+        </provide>
+    </process>
+</deploy>

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/deploy.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest1.soap
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest1.soap?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest1.soap
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest1.soap
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,25 @@
+<?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.
+  -->
+
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
+    <SOAP-ENV:Body>
+        <tns:first 
xmlns:tns="http://ode/bpel/test/retire/responder.wsdl";><TestPart>TEST1</TestPart></tns:first>
+    </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest2.soap
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest2.soap?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest2.soap
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/1/testRequest2.soap
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,25 @@
+<?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.
+  -->
+
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
+    <SOAP-ENV:Body>
+        <tns:first 
xmlns:tns="http://ode/bpel/test/retire/responder.wsdl";><TestPart>TEST2</TestPart></tns:first>
+    </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,59 @@
+<?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="TestRetire2"
+         targetNamespace="http://ode/bpel/test/retire";
+         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+         xmlns:tns="http://ode/bpel/responder";
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+         xmlns:resp="http://ode/bpel/test/retire/responder.wsdl";>
+
+  <import location="TestRetire.wsdl" 
namespace="http://ode/bpel/test/retire.wsdl";
+     importType="http://schemas.xmlsoap.org/wsdl/"; />
+
+  <partnerLinks>
+    <partnerLink name="testRetirePartnerLink" 
partnerLinkType="resp:TestRetirePartnerLinkType" myRole="responder"/>
+  </partnerLinks>
+
+  <variables>
+    <variable name="dummy" messageType="resp:TestRetireMessage"/>
+  </variables>
+
+  <correlationSets>
+    <correlationSet name="dummyCorr" properties="resp:dummyProp" />
+  </correlationSets>
+
+  <sequence>
+    <receive name="start" partnerLink="testRetirePartnerLink" variable="dummy" 
operation="first" createInstance="yes">
+      <correlations>
+        <correlation set="dummyCorr" initiate="yes"/>
+      </correlations>
+    </receive>
+    <reply name="reply-endpoint" partnerLink="testRetirePartnerLink" 
operation="first" variable="dummy"/>
+
+    <receive name="second" partnerLink="testRetirePartnerLink" 
variable="dummy" operation="second">
+      <correlations>
+        <correlation set="dummyCorr" initiate="no"/>
+      </correlations>
+    </receive>
+    <reply name="reply-ack" partnerLink="testRetirePartnerLink" 
operation="second" variable="dummy"/>
+
+  </sequence>
+</process>

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.bpel
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,74 @@
+<?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.
+  -->
+
+<wsdl:definitions 
+    targetNamespace="http://ode/bpel/test/retire/responder.wsdl";
+    xmlns="http://schemas.xmlsoap.org/wsdl/";
+    xmlns:tns="http://ode/bpel/test/retire/responder.wsdl";
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
+    xmlns:dummy="http://axis2.ode.apache.org";
+    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype";
+    xmlns:prop="http://docs.oasis-open.org/wsbpel/2.0/varprop";>
+
+    <wsdl:message name="TestRetireMessage">
+        <wsdl:part name="TestPart" type="xsd:string"/>
+    </wsdl:message>
+    
+    <wsdl:portType name="TestRetirePortType">
+        <wsdl:operation name="first">
+            <wsdl:input message="tns:TestRetireMessage" name="TestIn"/>
+            <wsdl:output message="tns:TestRetireMessage" name="TestOut"/>
+        </wsdl:operation>    
+        <wsdl:operation name="second">
+            <wsdl:input message="tns:TestRetireMessage" name="TestIn"/>
+            <wsdl:output message="tns:TestRetireMessage" name="TestOut"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    
+     <wsdl:binding name="TestRetireSoapBinding" type="tns:TestRetirePortType">
+        <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="first">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input><soap:body 
namespace="http://ode/bpel/test/retire/responder.wsdl"; 
use="literal"/></wsdl:input>
+            <wsdl:output><soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/></wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="second">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input><soap:body 
namespace="http://ode/bpel/test/retire/responder.wsdl"; 
use="literal"/></wsdl:input>
+            <wsdl:output><soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/></wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="TestRetireService">
+        <wsdl:port name="TestRetirePort" binding="tns:TestRetireSoapBinding">
+            <soap:address 
location="http://localhost:8888/ode/processes/testretire"/>
+        </wsdl:port>
+    </wsdl:service>
+    
+    <plnk:partnerLinkType name="TestRetirePartnerLinkType">
+        <plnk:role name="responder" portType="tns:TestRetirePortType"/>
+    </plnk:partnerLinkType>
+
+    <prop:property name="dummyProp" type="xsd:string"/>
+    <prop:propertyAlias propertyName="tns:dummyProp" 
messageType="tns:TestRetireMessage" part="TestPart"/>
+
+</wsdl:definitions>
+

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/TestRetire.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml?rev=925681&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml
 Sat Mar 20 20:56:42 2010
@@ -0,0 +1,29 @@
+<!--
+  ~ 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:pns="http://ode/bpel/test/retire";
+    xmlns:wns="http://ode/bpel/test/retire/responder.wsdl";>
+
+    <process name="pns:TestRetire2">
+        <active>true</active>
+        <provide partnerLink="testRetirePartnerLink">
+            <service name="wns:TestRetireService" port="TestRetirePort"/>
+        </provide>
+    </process>
+</deploy>

Propchange: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire2/2/deploy.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to