You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/07/15 19:08:19 UTC

svn commit: r964492 - in /synapse/trunk/java/repository/conf/sample: synapse_sample_150.xml synapse_sample_151.xml synapse_sample_152.xml synapse_sample_153.xml synapse_sample_154.xml synapse_sample_155.xml

Author: ruwan
Date: Thu Jul 15 17:08:19 2010
New Revision: 964492

URL: http://svn.apache.org/viewvc?rev=964492&view=rev
Log:
migrating samples 150 to 155

Modified:
    synapse/trunk/java/repository/conf/sample/synapse_sample_150.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_152.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_153.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_154.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_155.xml

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_150.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_150.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_150.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_150.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -19,15 +20,17 @@
 
 <!-- Introduction to proxy services -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+
     <proxy name="StockQuoteProxy">
         <target>
             <endpoint>
                 <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
             </endpoint>
-			<outSequence>
-				<send/>
-			</outSequence>
+            <outSequence>
+                <send/>
+            </outSequence>
         </target>
         <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
     </proxy>
-</definitions>
\ No newline at end of file
+
+</definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -16,22 +17,28 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- Custom sequences and endpoints with proxy services -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
     <sequence name="proxy_1">
         <send>
-            <endpoint><address uri="http://localhost:9000/services/SimpleStockQuoteService"/></endpoint>
+            <endpoint>
+                <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+            </endpoint>
         </send>
     </sequence>
-	<sequence name="out">
+
+    <sequence name="out">
         <send/>
     </sequence>
+
     <endpoint name="proxy_2_endpoint">
-		<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
-	</endpoint>
-    <localEntry key="proxy_wsdl" src="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
+        <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+    </endpoint>
+
+    <localEntry key="proxy_wsdl"
+                src="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
 
     <proxy name="StockQuoteProxy1">
         <publishWSDL key="proxy_wsdl"/>
@@ -42,4 +49,5 @@
         <publishWSDL key="proxy_wsdl"/>
         <target endpoint="proxy_2_endpoint" outSequence="out"/>
     </proxy>
-</definitions>
\ No newline at end of file
+
+</definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_152.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_152.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_152.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_152.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -16,18 +17,20 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- Switching transports and message format from SOAP to REST/POX -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+
     <proxy name="StockQuoteProxy" transports="https">
         <target>
             <endpoint>
                 <address uri="http://localhost:9000/services/SimpleStockQuoteService" format="pox"/>
             </endpoint>
-			<outSequence>
-				<send/>
-			</outSequence>
+            <outSequence>
+                <send/>
+            </outSequence>
         </target>
         <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
     </proxy>
+
 </definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_153.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_153.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_153.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_153.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -16,9 +17,10 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- Routing the messages arrived to a proxy service without processing the security headers -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+
     <proxy name="StockQuoteProxy">
         <target>
             <inSequence>
@@ -28,10 +30,11 @@
                     </endpoint>
                 </send>
             </inSequence>
-			<outSequence>
-				<send/>
-			</outSequence>
+            <outSequence>
+                <send/>
+            </outSequence>
         </target>
         <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
     </proxy>
-</definitions>
\ No newline at end of file
+
+</definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_154.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_154.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_154.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_154.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -16,7 +17,8 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    <!-- A proxy service with a loadbalace endpoint -->
+
+<!-- A proxy service with a loadbalace endpoint -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
     <proxy name="LBProxy" transports="http" startOnLoad="true">
@@ -58,7 +60,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_155.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_155.xml?rev=964492&r1=964491&r2=964492&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_155.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_155.xml Thu Jul 15 17:08:19 2010
@@ -1,3 +1,4 @@
+<?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
@@ -16,8 +17,10 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
+
 <!-- A proxy service with a dual channel invocation to the actual server -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+
     <proxy name="StockQuoteProxy">
         <target>
             <endpoint>
@@ -31,4 +34,5 @@
         </target>
         <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
     </proxy>
-</definitions>
\ No newline at end of file
+
+</definitions>