Author: rr
Date: Thu Mar 18 13:13:45 2010
New Revision: 924759

URL: http://svn.apache.org/viewvc?rev=924759&view=rev
Log:
ODE-758: Test case

Added:
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/NoP2PTest.java
   (with props)
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.bpel   
(with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.wsdl   
(with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/PingPong.wsdl
   (with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.bpel   
(with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.wsdl   
(with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/deploy.xml   
(with props)
    
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/testRequest.soap

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/NoP2PTest.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/NoP2PTest.java?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/NoP2PTest.java
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/NoP2PTest.java
 Thu Mar 18 13:13:45 2010
@@ -0,0 +1,45 @@
+/*
+ * 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;
+
+import org.testng.annotations.Test;
+import static org.testng.AssertJUnit.assertTrue;
+
+/**
+ * Tests that timeouts set in the *.endpoint files are applied.
+ * The test is designed so a fault must be received.
+ *
+ * Actually, the process invokes a 3-sec long operation (see the process 
request).
+ * The specified timeouts are lesser than 3-sec, so if properly applied, a 
fault should be trown.
+ * If not applied, the default 120-sec timeouts will be used. 5sec < 120sec, 
so the request will succeed.
+ *
+ */
+public class NoP2PTest extends Axis2TestBase {
+    @Test(dataProvider="configs")
+    public void testNoP2P() throws Exception {
+        String bundleName = "TestNoP2P";
+        if (server.isDeployed(bundleName)) server.undeployProcess(bundleName);
+        server.deployProcess(bundleName);
+        String response = 
server.sendRequestFile("http://localhost:8888/ode/processes/PingPongService/";,
+                bundleName, "testRequest.soap");
+        System.out.println(response);
+        assertTrue(response.contains("magic"));
+    }
+}
\ No newline at end of file

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.bpel
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.bpel?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.bpel 
(added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.bpel 
Thu Mar 18 13:13:45 2010
@@ -0,0 +1,96 @@
+<?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="urn:/PingPong"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+        xmlns:tns="urn:/PingPong"
+        expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+    <import location="Ping.wsdl"
+            namespace="http://www.example.org/common/";
+            importType="http://schemas.xmlsoap.org/wsdl/"; />
+
+    <partnerLinks>
+        <partnerLink name="PingPartnerLink"
+                partnerLinkType="tns:PingPongPLT"
+                myRole="Provider" />
+        <partnerLink name="PongPartnerLink"
+                partnerLinkType="tns:PingPongPLT"
+                partnerRole="Provider"
+                initializePartnerRole="yes" />
+    </partnerLinks>
+
+    <variables>
+        <variable messageType="tns:PingRequest" name="pingRequest"/>
+        <variable messageType="tns:PingResponse" name="pingResponse"/>
+        <variable messageType="tns:PongRequest" name="pongRequest"/>
+        <variable messageType="tns:PongResponse" name="pongResponse"/>
+    </variables>
+
+    <sequence name="Main">
+        <receive name="pingReceive"
+                createInstance="yes"
+                operation="Ping"
+                partnerLink="PingPartnerLink"
+                portType="tns:PingPongPortType"
+                variable="pingRequest"/>
+
+        <assign>
+            <copy>
+                <from>
+                    <literal>
+                        <tns:PongRequest>
+                            <tns:in>test0</tns:in>
+                        </tns:PongRequest>
+                    </literal>
+                </from>
+                <to>$pongRequest.parameters</to>
+            </copy>
+        </assign>
+        
+        <invoke name="invokePong"
+                operation="Pong"
+                inputVariable="pongRequest"
+                outputVariable="pongResponse"
+                partnerLink="PongPartnerLink"
+                portType="tns:PingPongPortType"/>
+        
+        <assign name="assignPingResponse">
+            <copy>
+                <from>
+                    <literal>
+                        <tns:PingResponse>
+                            <tns:out>magic</tns:out>
+                        </tns:PingResponse>
+                    </literal>
+                </from>
+                <to>$pingResponse.parameters</to>
+            </copy>
+        </assign>
+
+        <reply name="pingReply"
+                partnerLink="PingPartnerLink"
+                portType="tns:PingPongPortType"
+                operation="Ping"
+                variable="pingResponse"/>
+    </sequence>
+</process>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.wsdl
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.wsdl?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.wsdl 
(added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Ping.wsdl 
Thu Mar 18 13:13:45 2010
@@ -0,0 +1,57 @@
+<?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="urn:/PingPong"
+        xmlns:tns="urn:/PingPong"
+        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/"; 
xmlns:p="http://www.w3.org/2001/XMLSchema";>
+
+    <import location="PingPong.wsdl" namespace="urn:/PingPong"></import>
+    <binding name="PingPongBinding" type="tns:PingPongPortType">
+      <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"; />
+      <operation name="Ping">
+        <soap:operation soapAction="urn:/Ping" />
+        <input>
+          <soap:body use="literal" />
+        </input>
+        <output>
+          <soap:body use="literal" />
+        </output>
+      </operation>
+      <operation name="Pong">
+        <soap:operation soapAction="urn:/Pong" />
+        <input>
+          <soap:body use="literal" />
+        </input>
+        <output>
+          <soap:body use="literal" />
+        </output>
+      </operation>
+    </binding>
+    <service name="PingPongService">
+      <port name="Port1" binding="tns:PingPongBinding">
+        <soap:address 
location="http://localhost:8888/ode/processes/PingPongService/"; />
+      </port>
+      <port name="Port2" binding="tns:PingPongBinding">
+        <soap:address 
location="http://localhost:8888/ode/processes/PingPongService2/"; />
+      </port>
+    </service>
+</definitions>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/PingPong.wsdl
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/PingPong.wsdl?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/PingPong.wsdl
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/PingPong.wsdl
 Thu Mar 18 13:13:45 2010
@@ -0,0 +1,85 @@
+<?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="PingPong"
+        targetNamespace="urn:/PingPong"
+        xmlns:tns="urn:/PingPong"
+        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/"; 
xmlns:p="http://www.w3.org/2001/XMLSchema";>
+
+    <types>
+        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
targetNamespace="urn:/PingPong">
+          <xsd:element name="Pong">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="in" type="xsd:string"></xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="PongResponse">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="out" type="xsd:string"></xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="Ping">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="in" type="xsd:string"></xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="PingResponse">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="out" type="xsd:string"></xsd:element>
+              </xsd:sequence>
+            </xsd:complexType>
+          </xsd:element></xsd:schema>
+    </types>
+
+    <message name="PongRequest">
+      <part name="parameters" element="tns:Pong"></part>
+    </message>
+    <message name="PongResponse">
+      <part name="parameters" element="tns:PongResponse"></part>
+    </message>
+    <message name="PingRequest">
+      <part name="parameters" element="tns:Ping"></part>
+    </message>
+    <message name="PingResponse">
+      <part name="parameters" element="tns:PingResponse"></part>
+    </message>
+    <portType name="PingPongPortType">
+        <operation name="Pong">
+          <input message="tns:PongRequest"></input>
+          <output message="tns:PongResponse"></output>
+        </operation>
+        <operation name="Ping">
+          <input message="tns:PingRequest"></input>
+          <output message="tns:PingResponse"></output>
+        </operation>
+    </portType>
+
+    <plnk:partnerLinkType name="PingPongPLT">
+        <plnk:role name="Provider" portType="tns:PingPongPortType"/>
+    </plnk:partnerLinkType>
+</definitions>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.bpel
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.bpel?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.bpel 
(added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.bpel 
Thu Mar 18 13:13:45 2010
@@ -0,0 +1,70 @@
+<?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="Pong"
+        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+        targetNamespace="urn:/PingPong"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+        xmlns:tns="urn:/PingPong"
+        expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+    <import location="Pong.wsdl"
+            namespace="http://www.example.org/common/";
+            importType="http://schemas.xmlsoap.org/wsdl/"; />
+
+    <partnerLinks>
+        <partnerLink name="PongPartnerLink"
+                partnerLinkType="tns:PingPongPLT"
+                myRole="Provider" />
+    </partnerLinks>
+
+    <variables>
+        <variable messageType="tns:PongRequest" name="pongRequest"/>
+        <variable messageType="tns:PongResponse" name="pongResponse"/>
+    </variables>
+
+    <sequence name="Main">
+        <receive name="pongReceive"
+                createInstance="yes"
+                operation="Pong"
+                partnerLink="PongPartnerLink"
+                portType="tns:PingPongPortType"
+                variable="pongRequest"/>
+
+        <assign name="assignPongResponse">
+            <copy>
+                <from>
+                    <literal>
+                        <tns:PongResponse>
+                            <tns:out>test</tns:out>
+                        </tns:PongResponse>
+                    </literal>
+                </from>
+                <to>$pongResponse.parameters</to>
+            </copy>
+        </assign>
+
+        <reply name="pongReply"
+                partnerLink="PongPartnerLink"
+                portType="tns:PingPongPortType"
+                operation="Pong"
+                variable="pongResponse"/>
+    </sequence>
+</process>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.wsdl
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.wsdl?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.wsdl 
(added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/Pong.wsdl 
Thu Mar 18 13:13:45 2010
@@ -0,0 +1,54 @@
+<?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="urn:/PingPong"
+        xmlns:tns="urn:/PingPong"
+        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/"; 
xmlns:p="http://www.w3.org/2001/XMLSchema";>
+
+    <import location="PingPong.wsdl" namespace="urn:/PingPong"></import>
+    <binding name="PingPongBinding2" type="tns:PingPongPortType">
+      <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"; />
+      <operation name="Ping">
+        <soap:operation soapAction="urn:/Ping" />
+        <input>
+          <soap:body use="literal" />
+        </input>
+        <output>
+          <soap:body use="literal" />
+        </output>
+      </operation>
+      <operation name="Pong">
+        <soap:operation soapAction="urn:/Pong" />
+        <input>
+          <soap:body use="literal" />
+        </input>
+        <output>
+          <soap:body use="literal" />
+        </output>
+      </operation>
+    </binding>
+    <service name="PingPongService2">
+      <port name="Port2" binding="tns:PingPongBinding2">
+        <soap:address 
location="http://localhost:8888/ode/processes/PingPongService2/"; />
+      </port>
+    </service>
+</definitions>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/deploy.xml
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/deploy.xml?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/deploy.xml 
(added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/deploy.xml 
Thu Mar 18 13:13:45 2010
@@ -0,0 +1,38 @@
+<?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:p="urn:/PingPong">
+
+       <process name="p:Ping">
+               <active>true</active>
+               <provide partnerLink="PingPartnerLink">
+                       <service name="p:PingPongService" port="Port1"/>
+               </provide>
+               <invoke partnerLink="PongPartnerLink" usePeer2Peer="false">
+                       <service name="p:PingPongService" port="Port2"/>
+               </invoke>
+       </process>
+       <process name="p:Pong">
+               <active>true</active>
+               <provide partnerLink="PongPartnerLink">
+                       <service name="p:PingPongService2" port="Port2"/>
+               </provide>
+       </process>
+</deploy>

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

Added: 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/testRequest.soap
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/testRequest.soap?rev=924759&view=auto
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/testRequest.soap
 (added)
+++ 
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestNoP2P/testRequest.soap
 Thu Mar 18 13:13:45 2010
@@ -0,0 +1,28 @@
+<?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.
+  -->
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:pin="urn:/PingPong">
+   <soapenv:Header/>
+   <soapenv:Body>
+      <pin:Ping>
+         <in>test</in>
+      </pin:Ping>
+   </soapenv:Body>
+</soapenv:Envelope>


Reply via email to