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/09/26 12:07:21 UTC

svn commit: r1001400 - in /synapse/trunk/java/repository: conf/sample/synapse_sample_151.xml schema/misc/target.xsd

Author: ruwan
Date: Sun Sep 26 10:07:20 2010
New Revision: 1001400

URL: http://svn.apache.org/viewvc?rev=1001400&view=rev
Log:
Fixing the target schema and keeping the sequence in the samples

Modified:
    synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml
    synapse/trunk/java/repository/schema/misc/target.xsd

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=1001400&r1=1001399&r2=1001400&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_151.xml Sun Sep 26 10:07:20 2010
@@ -21,6 +21,13 @@
 <!-- Custom sequences and endpoints with proxy services -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
+    <localEntry key="proxy_wsdl"
+                src="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
+
+    <endpoint name="proxy_2_endpoint">
+        <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+    </endpoint>
+
     <sequence name="proxy_1">
         <send>
             <endpoint>
@@ -33,13 +40,6 @@
         <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"/>
-
     <proxy name="StockQuoteProxy1">
         <publishWSDL key="proxy_wsdl"/>
         <target inSequence="proxy_1" outSequence="out"/>

Modified: synapse/trunk/java/repository/schema/misc/target.xsd
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/schema/misc/target.xsd?rev=1001400&r1=1001399&r2=1001400&view=diff
==============================================================================
--- synapse/trunk/java/repository/schema/misc/target.xsd (original)
+++ synapse/trunk/java/repository/schema/misc/target.xsd Sun Sep 26 10:07:20 2010
@@ -56,6 +56,9 @@
             </xs:element>
             <xs:element name="endpoint" type="Endpoint" minOccurs="0" maxOccurs="1"/>
         </xs:all>
+        <xs:attribute name="inSequence" type="xs:string" use="optional"/>
+        <xs:attribute name="outSequence" type="xs:string" use="optional"/>
+        <xs:attribute name="endpoint" type="xs:string" use="optional"/>
     </xs:complexType>
 
 </xs:schema>
\ No newline at end of file