Author: ruwan
Date: Sun Sep 26 10:07:16 2010
New Revision: 1001399
URL: http://svn.apache.org/viewvc?rev=1001399&view=rev
Log:
Fixing the target schema and keeping the sequence in the samples
Modified:
synapse/branches/2.0/repository/conf/sample/synapse_sample_151.xml
synapse/branches/2.0/repository/schema/misc/target.xsd
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_151.xml
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_151.xml?rev=1001399&r1=1001398&r2=1001399&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_151.xml
(original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_151.xml Sun Sep
26 10:07:16 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/branches/2.0/repository/schema/misc/target.xsd
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/repository/schema/misc/target.xsd?rev=1001399&r1=1001398&r2=1001399&view=diff
==============================================================================
--- synapse/branches/2.0/repository/schema/misc/target.xsd (original)
+++ synapse/branches/2.0/repository/schema/misc/target.xsd Sun Sep 26 10:07:16
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