Author: heshan
Date: Tue Feb 22 09:05:05 2011
New Revision: 1073265

URL: http://svn.apache.org/viewvc?rev=1073265&view=rev
Log:
Fixing namespace in all the documentation. 

Modified:
    synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml
    synapse/trunk/java/src/site/xdoc/Synapse_QuickStart.xml
    synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml

Modified: synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml?rev=1073265&r1=1073264&r2=1073265&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml 
(original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml Tue Feb 
22 09:05:05 2011
@@ -456,7 +456,7 @@
 <pre xml:space="preserve">&lt;sequence key="sequence/dynamic_seq_1.xml"/&gt;
 where "sequence/dynamic_seq_1.xml" refers to the following sequence definition 
from the registry:
 
-&lt;sequence name="dynamic_sequence" 
xmlns="http://synapse.apache.org/ns/2010/04/configuraiton"&gt;
+&lt;sequence name="dynamic_sequence" 
xmlns="http://ws.apache.org/ns/synapse"&gt;
   ..
 &lt;/sequence&gt;</pre>
     <h2>
@@ -694,7 +694,7 @@ where "sequence/dynamic_seq_1.xml" refer
       of sessions supported in SAL endpoints. Namely HTTP transport based 
session
       which identifies the sessions based on http cookies and the client 
session which
       identifies the session by looking at a SOAP header sent by the client 
with the QName
-      '{http://synapse.apache.org/ns/2010/04/configuraiton}ClientID'. The 
'failover' attribute mentioned above
+      '{http://ws.apache.org/ns/synapse}ClientID'. The 'failover' attribute 
mentioned above
       is not applicable for session affinity based endpoints and it is always
       considered as set to false. If it is required to have failover behavior 
in session
       affinity based load balance endpoints, list failover endpoints as the 
target endpoints.
@@ -1506,7 +1506,7 @@ where "sequence/dynamic_seq_1.xml" refer
     <p>
       The 'feature' element defines any features which
       should be explicitly set to the TransformerFactory. The feature
-      
'http://synapse.apache.org/ns/2010/04/configuraiton/transform/feature/dom' 
turns on DOM based
+      'http://ws.apache.org/ns/synapse/transform/feature/dom' turns on DOM 
based
       transformations instead of serializing elements into Byte streams and/or
       temporary files. Though this would be better in performance than using
       byte streams, sometimes it may not work for all transformations.
@@ -2131,7 +2131,7 @@ where "sequence/dynamic_seq_1.xml" refer
     <h4>
       <a name="spring" id="spring">Spring mediator</a>
     </h4>
-<pre xml:space="preserve"> &lt;spring:spring bean="exampleBean1" key="string" 
xmlns:spring="http://synapse.apache.org/ns/2010/04/configuraiton/spring"/&gt;</pre>
+<pre xml:space="preserve"> &lt;spring:spring bean="exampleBean1" key="string" 
xmlns:spring="http://ws.apache.org/ns/synapse/spring"/&gt;</pre>
     <p>
       The &lt;spring&gt; element creates an instance of a mediator, which is
       managed by Spring. This Spring bean must implement the Mediator interface

Modified: synapse/trunk/java/src/site/xdoc/Synapse_QuickStart.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_QuickStart.xml?rev=1073265&r1=1073264&r2=1073265&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_QuickStart.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_QuickStart.xml Tue Feb 22 09:05:05 
2011
@@ -255,7 +255,7 @@ user@host:/opt/synapse-1.1.1/samples/axi
       repository/conf/sample) and listed below. It is configured to log and 
pass
       through, all the messages.
     </p>
-<pre xml:space="preserve">&lt;definitions 
xmlns="http://synapse.apache.org/ns/2010/04/configuraiton"&gt;<br/>    &lt;log 
level="full"/&gt; <br/>    &lt;send/&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns="http://ws.apache.org/ns/synapse"&gt;<br/>    &lt;log level="full"/&gt; 
<br/>    &lt;send/&gt;
 &lt;/definitions&gt; </pre>
     <p/>
     <p>
@@ -469,7 +469,7 @@ SOAPAction: null
       definition. In this case we are using the synapse_sample_150.xml, so that
       you don't have to write the configuration your self.
     </p>
-<pre xml:space="preserve">&lt;definitions 
xmlns="http://synapse.apache.org/ns/2010/04/configuraiton"&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns="http://ws.apache.org/ns/synapse"&gt;
     &lt;proxy name="StockQuoteProxy"&gt;
         &lt;target&gt;
             &lt;endpoint&gt;

Modified: synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml?rev=1073265&r1=1073264&r2=1073265&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml Tue Feb 22 09:05:05 
2011
@@ -364,7 +364,7 @@
 <a name="MediationSamples" id="MediationSamples">Message Mediation Samples</a> 
</h1>
 <h2>
 <a name="Sample0" id="Sample0">Sample 0: Introduction to Synapse</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;!-- log all attributes of messages passing through --&gt;
     &lt;log level=&quot;full&quot;/&gt;
 
@@ -397,7 +397,7 @@
 <p>You will see the exact same behaviour as per the previous example when you 
run this scenario. However this time the difference is at the client, as it 
sends the message to the WS-Addressing 'To' address 
http://localhost:9000/services/SimpleStockQuoteService, but the transport 
specifies Synapse as the HTTP proxy. </p>
 <h2>
 <a name="Sample1" id="Sample1">Sample 1: Simple content based routing (CBR) of 
messages</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;!-- filtering of messages with XPath and regex matches --&gt;
     &lt;filter source=&quot;get-property('To')&quot; 
regex=&quot;.*/StockQuote.*&quot;&gt;
         &lt;send&gt;
@@ -428,7 +428,7 @@ mediator forwards the response back to t
     
 <h2>
 <a name="Sample2" id="Sample2">Sample 2: CBR with the Switch-case mediator, 
using message properties</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;switch source=&quot;//m0:getQuote/m0:request/m0:symbol&quot; 
xmlns:m0=&quot;http://services.samples&quot;&gt;
         &lt;case regex=&quot;IBM&quot;&gt;
             &lt;!-- the property mediator sets a local property on the 
*current* message --&gt;
@@ -469,7 +469,7 @@ mediator forwards the response back to t
 <pre xml:space="preserve">      INFO LogMediator - symbol = Are you sure? - 
MSFT, epr = http://localhost:9000/axis2/services/SimpleStockQuoteService</pre>
 <h2>
 <a name="Sample3" id="Sample3">Sample 3: Local Registry entry definitions, 
reusable endpoints and sequences</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;!-- define a string resource entry to the local registry --&gt;
     &lt;localEntry key=&quot;version&quot;&gt;0.1&lt;/localEntry&gt;
     &lt;!-- define a reuseable endpoint definition --&gt;
@@ -518,7 +518,7 @@ mediator forwards the response back to t
 [HttpServerWorker-1] DEBUG AddressEndpoint - Sending To: 
http://localhost:9000/services/SimpleStockQuoteService </pre>
 <h2>
 <a name="Sample4" id="Sample4">Sample 4: Introduction to error 
handling</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;!-- the default fault handling sequence used by Synapse - named 
'fault' --&gt;
     &lt;sequence name=&quot;fault&quot;&gt;
@@ -601,7 +601,7 @@ mediator forwards the response back to t
 [HttpServerWorker-1] INFO LogMediator text = An unexpected error occured for 
stock SUN, message = Couldn't find the endpoint with the key : sunPort</pre>
 <h2>
 <a name="Sample5" id="Sample5">Sample 5: Creating SOAP fault messages and 
changing the direction of a message</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;myFaultHandler&quot;&gt;
         &lt;makefault response=&quot;true&quot;&gt;
@@ -653,7 +653,7 @@ mediator forwards the response back to t
     &lt;faultstring&gt;java.net.ConnectException: Connection 
refused&lt;/faultstring&gt;&lt;detail /&gt;&lt;/soapenv:Fault&gt;</pre>
 <h2>
 <a name="Sample6" id="Sample6">Sample 6: Manipulating SOAP headers, and 
filtering incoming and outgoing messages</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
         &lt;header name=&quot;To&quot; 
value=&quot;http://localhost:9000/services/SimpleStockQuoteService&quot;/&gt;
     &lt;/in&gt;
@@ -669,7 +669,7 @@ mediator forwards the response back to t
 <pre xml:space="preserve">ant stockquote -Dtrpurl=http://localhost:8280/</pre>
 <h2>
 <a name="Sample7" id="Sample7">Sample 7: Introduction to local Registry 
entries and using Schema validation</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;localEntry key=&quot;validate_schema&quot;&gt;
         &lt;xs:schema xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
@@ -719,7 +719,7 @@ mediator forwards the response back to t
 <pre xml:space="preserve">ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/</pre>
 <h2>
 <a name="Sample8" id="Sample8">Sample 8: Introduction to static and dynamic 
registry resources, and using XSLT transformations</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;!-- the SimpleURLRegistry allows access to a URL based registry (e.g. 
file:/// or http://) --&gt;
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
@@ -770,7 +770,7 @@ mediator forwards the response back to t
 <p>Thus the SimpleURLRegistry allows resource to be cached, and updates 
detected so that the changes could be reloaded without restarting the Synapse 
instance. </p>
 <h2>
 <a name="Sample9" id="Sample9">Sample 9: Introduction to dynamic sequences 
with the Registry</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
         &lt;parameter 
name=&quot;root&quot;&gt;file:./repository/conf/sample/resources/&lt;/parameter&gt;
         &lt;parameter 
name=&quot;cachableDuration&quot;&gt;15000&lt;/parameter&gt;
@@ -803,7 +803,7 @@ mediator forwards the response back to t
 <p>The cache timeout could be tuned appropriately by configuring the URL 
registry to suit the environment and the needs. </p>
 <h2>
 <a name="Sample10" id="Sample10">Sample 10: Introduction to dynamic endpoints 
with the Registry</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
         &lt;parameter 
name=&quot;root&quot;&gt;file:repository/conf/sample/resources/&lt;/parameter&gt;
@@ -832,7 +832,7 @@ mediator forwards the response back to t
 <p>Now edit the repository/conf/sample/resources/endpoint/dynamic_endpt_1.xml 
definition and update the address to 
&quot;http://localhost:9001/services/SimpleStockQuoteService&quot;. After the 
cached value expires, the Registry loads the new definition of the endpoint, 
and then the messages can be seen being routed to the second sample Axis2 
server on HTTP port 9001. </p>
 <h2>
 <a name="Sample11" id="Sample11">Sample 11: A full registry based 
configuration, and sharing a configuration between multiple instances</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
         &lt;parameter 
name=&quot;root&quot;&gt;file:./repository/conf/sample/resources/&lt;/parameter&gt;
         &lt;parameter 
name=&quot;cachableDuration&quot;&gt;15000&lt;/parameter&gt;
@@ -850,7 +850,7 @@ mediator forwards the response back to t
 <pre xml:space="preserve">[HttpServerWorker-1] INFO LogMediator - message = 
This is a dynamic Synapse configuration</pre>
 <p>The actual synapse.xml loaded is: </p>
 <pre xml:space="preserve">&lt;!-- a registry based Synapse configuration --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;log level=&quot;custom&quot;&gt;
         &lt;property name=&quot;message&quot; value=&quot;This is a dynamic 
Synapse configuration $$$&quot;/&gt;
     &lt;/log&gt;
@@ -1000,7 +1000,7 @@ Standard dual channel :: Stock price = $
 <a name="Endpoints" id="Endpoints">Advanced mediations with endpoints</a> </h1>
 <h2>
 <a name="Sample50" id="Sample50">Sample 50: POX to SOAP conversion</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;!-- filtering of messages with XPath and regex matches --&gt;
     &lt;filter source=&quot;get-property('To')&quot; 
regex=&quot;.*/StockQuote.*&quot;&gt;
         &lt;send&gt;
@@ -1039,7 +1039,7 @@ Transfer-Encoding: chunked
 
 <h2>
 <a name="Sample51" id="Sample51">Sample 51: MTOM and SwA optimizations and 
request/response correlation</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
         &lt;filter source=&quot;get-property('Action')&quot; 
regex=&quot;urn:uploadFileUsingMTOM&quot;&gt;
             &lt;property name=&quot;example&quot; value=&quot;mtom&quot;/&gt;
@@ -1147,7 +1147,7 @@ Content-ID:
          &lt;urn:uuid:15FD2DA2584A32BF7C1177414169826&gt;22800GIF89a... 
&lt;&lt; binary content &gt;&gt;</pre>
 <h2>
 <a name="Sample52" id="Sample52">Sample 52: Session less load balancing 
between 3 endpoints</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1228,7 +1228,7 @@ Content-ID:
 <p>Now restart MyServer1. You can observe that requests will be again sent to 
all three servers roughly after 60 seconds. This is because we have specified 
&lt;suspendDurationOnFailure&gt; as 60 seconds in the configuration. Therefore, 
load balance endpoint will suspend any failed child endpoint only for 60 
seconds after detecting the failure. </p>
 <h2>
 <a name="Sample53" id="Sample53">Sample 53: Failover sending among 3 
endpoints</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1297,7 +1297,7 @@ Content-ID:
 <p>Once a server is detected as failed, it will be added to the active servers 
list again after 60 seconds (specified in &lt;suspendDurationOnFailure&gt; in 
the configuration). Therefore, if you have restarted any of the stopped servers 
and have shutdown all other servers, messages will be directed to the newly 
started server. </p>
 <h2>
 <a name="Sample54" id="Sample54">Sample 54: Session affinity load balancing 
between 3 endpoints</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1369,7 +1369,7 @@ Content-ID:
 <p>You can see that session number 0 is always directed to the server named 
MyServer1. That means session number 0 is bound to MyServer1. Similarly session 
1 and 2 are bound to MyServer3 and MyServer2 respectively. </p>
 <h2>
 <a name="Sample55" id="Sample55">Sample 55: Session affinity load balancing 
between fail over endpoints</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1467,7 +1467,7 @@ Content-ID:
 ...</pre>
 <h2>
 <a name="Sample56" id="Sample56">Sample 56: WSDL endpoint</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns="http://synapse.apache.org/ns/2010/04/configuraiton"&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns="http://ws.apache.org/ns/synapse"&gt;
 
     &lt;sequence name="main"&gt;
         &lt;in&gt;
@@ -1509,7 +1509,7 @@ Content-ID:
 <h2>
 <a name="Sample57" id="Sample57">Sample 57: Dynamic load balancing between 3 
nodes</a></h2>
 <pre xml:space="preserve">
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1579,7 +1579,7 @@ Content-ID:
 <h2>
 <a name="Sample58" id="Sample58">Sample 58: Static load balancing between 3 
nodes</a></h2>
 <pre xml:space="preserve">
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot; onError=&quot;errorHandler&quot;&gt;
         &lt;in&gt;
@@ -1647,7 +1647,7 @@ Content-ID:
 <a name="MessageMediationQoS" id="MessageMediationQoS">Quality of Service 
addition or deduction samples in message mediation</a> </h1>
 <h2>
 <a name="Sample100" id="Sample100">Sample 100: Using WS-Security for outgoing 
messages</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;localEntry key=&quot;sec_policy&quot; 
src=&quot;file:repository/conf/sample/resources/policy/policy_3.xml&quot;/&gt;
 
     &lt;in&gt;
@@ -1723,7 +1723,7 @@ User-Agent: Synapse-HttpComponents-NIO
 
 <h2>
 <a name="Sample101" id="Sample101">Sample 101: Reliable message exchange 
between Synapse and the back-end server using WS-ReliableMessaging</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;in&gt;
         &lt;RMSequence single=&quot;true&quot; version=&quot;1.0&quot;/&gt;
@@ -1868,7 +1868,7 @@ User-Agent: Synapse-HttpComponents-NIO
 
 <h2>
 <a name="Sample150" id="Sample150">Sample 150: Introduction to proxy 
services</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot;&gt;
         &lt;target&gt;
             &lt;endpoint&gt;
@@ -1893,7 +1893,7 @@ User-Agent: Synapse-HttpComponents-NIO
 <p>An 'inSequence' or 'endpoint' or both of these would decide how the message 
would be handled after the proxy service receives the message. In the above 
example, the request received is forwarded to the sample service hosted on 
Axis2. The 'outSequence' defines how the response is handled before it is sent 
back to the client. By default, a proxy service is exposed over all transports 
configured for Synapse, unless these are specifically mentioned through the 
'transports' attribute. </p>
 <h2>
 <a name="Sample151" id="Sample151">Sample 151: Custom sequences and endpoints 
with proxy services</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;proxy_1&quot;&gt;
         &lt;send&gt;
@@ -1931,7 +1931,7 @@ User-Agent: Synapse-HttpComponents-NIO
 <br/>ant stockquote 
-Daddurl=http://localhost:8280/services/StockQuoteProxy2</pre>
 <h2>
 <a name="Sample152" id="Sample152">Sample 152: Switching transports and 
message format from SOAP to REST/POX</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;https&quot;&gt;
         &lt;target&gt;
             &lt;endpoint&gt;
@@ -1999,7 +1999,7 @@ Connection: Keep-Alive
 
 <h2>
 <a name="Sample153" id="Sample153">Sample 153: Routing the messages arrived to 
a proxy service without processing the security headers</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot;&gt;
         &lt;target&gt;
             &lt;inSequence&gt;
@@ -2032,7 +2032,7 @@ Connection: Keep-Alive
 <a name="Sample154" id="Sample154">Sample 154: Load Balancing with Proxy 
Services </a></h2>
 <div>
 <pre xml:space="preserve">   &lt;!-- A proxy service with a loadbalace 
endpoint --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;LBProxy&quot; transports=&quot;https http&quot; 
startOnLoad=&quot;true&quot;&gt;
         &lt;target faultSequence=&quot;errorHandler&quot;&gt;
             &lt;inSequence&gt;
@@ -2089,7 +2089,7 @@ Connection: Keep-Alive
 <p>Functionality is similar to the sample #54. </p></div>
 <h2>
 <a name="Sample155" id="Sample155">Sample 155: Dual channel invocation on both 
client side and serverside of Synapse with Proxy Services</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot;&gt;
         &lt;target&gt;
             &lt;endpoint&gt;
@@ -2120,7 +2120,7 @@ Connection: Keep-Alive
 <a name="ProxyServiceQoS" id="ProxyServiceQoS">QoS addition and deduction for 
service mediation (proxy) samples</a> </h1>
 <h2>
 <a name="Sample200" id="Sample200">Sample 200: Using WS-Security with policy 
attachments for proxy services</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;localEntry key=&quot;sec_policy&quot; 
src=&quot;file:repository/conf/sample/resources/policy/policy_3.xml&quot;/&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot;&gt;
         &lt;target&gt;
@@ -2155,7 +2155,7 @@ Connection: Keep-Alive
 <p>By following through the debug logs or TCPMon output, you could see that 
the request received by the proxy service was signed and encrypted. Also, 
looking up the WSDL of the proxy service by requesting the 
URLhttp://localhost:8280/services/StockQuoteProxy?wsdl reveals the security 
policy attachment to the supplied base WSDL. When sending the message to the 
backend service, you could verify that the security headers were removed, and 
that the response received does not use WS-Security, but that the response 
being forwarded back to the client is signed and encrypted as expected by the 
client. </p>
 <h2>
 <a name="Sample201" id="Sample201">Sample 201: Reliable message exchange 
between the client and proxy services using WS-ReliableMessaging</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot;&gt;
         &lt;target&gt;
             &lt;inSequence&gt;
@@ -2191,7 +2191,7 @@ Connection: Keep-Alive
 <a name="Transport" id="Transport">Transport samples and switching 
transports</a> </h1>
 <h2>
 <a name="Sample250" id="Sample250">Sample 250: Introduction to switching 
transports - JMS to http/s</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns="http://synapse.apache.org/ns/2010/04/configuraiton"&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns="http://ws.apache.org/ns/synapse"&gt;
 
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;jms&quot;&gt;
         &lt;target&gt;
@@ -2256,7 +2256,7 @@ it will first try to read the content ty
 <pre xml:space="preserve">&lt;parameter 
name=&quot;transport.jms.Destination&quot;&gt;dynamicTopics/something.TestTopic&lt;/parameter&gt;</pre>
 <h2>
 <a name="Sample251" id="Sample251">Sample 251: Switching from http/s to 
JMS</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;http&quot;&gt;
         &lt;target&gt;
@@ -2296,7 +2296,7 @@ java.naming.provider.url=tcp://localhost
 <pre xml:space="preserve">Accepted order for : 18406 stocks of MSFT at $ 
83.58806051152119</pre>
 <h2>
 <a name="Sample252" id="Sample252">Sample 252: Pure text/binary and POX 
message support with JMS</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;sequence name=&quot;text_proxy&quot;&gt;
         &lt;log level=&quot;full&quot;/&gt;
         &lt;header name=&quot;Action&quot; 
value=&quot;urn:placeOrder&quot;/&gt;
@@ -2429,7 +2429,7 @@ The sample Axis2 server displays a succe
 <pre xml:space="preserve">samples.services.SimpleStockQuoteService :: Accepted 
order for : 19211 stocks of MSFT at $ 172.39703010684752</pre>
 <h2>
 <a name="Sample253" id="Sample253">Sample 253: One way bridging from JMS to 
http and replying with a 202 Accepted response</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;proxy name=&quot;JMStoHTTPStockQuoteProxy&quot; 
transports=&quot;jms&quot;&gt;
         &lt;target&gt;
@@ -2489,7 +2489,7 @@ Transfer-Encoding: chunked
 0</pre>
 <h2>
 <a name="Sample254" id="Sample254">Sample 254: Using the file system as 
transport medium using VFS transport listener and sender</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;vfs&quot;&gt;
         &lt;parameter 
name=&quot;transport.vfs.FileURI&quot;&gt;file:///home/user/test/in&lt;/parameter&gt;
 &lt;!--CHANGE--&gt;
         &lt;parameter 
name=&quot;transport.vfs.ContentType&quot;&gt;text/xml&lt;/parameter&gt;
@@ -2546,7 +2546,7 @@ Transfer-Encoding: chunked
 <em>out</em> directory. </p>
 <h2>
 <a name="Sample255" id="Sample255">Sample 255: Switching from ftp transport 
listener to mail transport sender</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;vfs&quot;&gt;
             &lt;parameter 
name=&quot;transport.vfs.FileURI&quot;&gt;vfs:ftp://guest:guest@localhost/test?vfs.passive=true&lt;/parameter&gt;
 &lt;!--CHANGE--&gt;
             &lt;parameter 
name=&quot;transport.vfs.ContentType&quot;&gt;text/xml&lt;/parameter&gt;
@@ -2586,7 +2586,7 @@ Transfer-Encoding: chunked
 <p>VFS transport listener will pick the file from the directory in the FTP 
server and send it to the Axis2 service. The file in the FTP directory will be 
deleted. The response will be sent to the given email address. </p>
 <h2>
 <a name="Sample256" id="Sample256">Sample 256: Proxy services with the mail 
transport </a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; 
transports=&quot;mailto&quot;&gt;
 
         &lt;parameter 
name=&quot;transport.mail.Address&quot;&gt;[email protected]&lt;/parameter&gt;
@@ -2652,7 +2652,7 @@ mail clients don't allow the user to exp
 <h2>
 <a name="Sample257" id="Sample257">Sample 257: Proxy services with the FIX 
transport </a></h2>
 <pre xml:space="preserve">&lt;!-- Using the FIX transport --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;FIXProxy&quot; transports=&quot;fix&quot;&gt;
 
         &lt;parameter 
name=&quot;transport.fix.AcceptorConfigURL&quot;&gt;file:/home/synapse_user/fix-config/fix-synapse.cfg&lt;/parameter&gt;
@@ -2692,7 +2692,7 @@ mail clients don't allow the user to exp
 <a href="Synapse_Samples_Setup.html#fixparameters">FIX Transport Parameters 
</a>. </p>
 <h2>
 <a name="Sample258" id="Sample258">Sample 258: Switching from HTTP to FIX 
</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;FIXProxy&quot; transport&quot;http&quot;&gt;
 
         &lt;parameter 
name=&quot;transport.fix.InitiatorConfigURL&quot;&gt;file:/home/synapse_user/fix-config/synapse-sender.cfg&lt;/parameter&gt;
@@ -2733,7 +2733,7 @@ mail clients don't allow the user to exp
 <p>Synapse will forward the order request to the session with the Executor. 
The first response coming from the Executor will be sent back over HTTP. 
Executor generally sends two responses for each incoming order request. But 
since the response has to be forwarded over HTTP only one can be sent back to 
the client. </p>
 <h2>
 <a name="Sample259" id="Sample259">Sample 259: Switch from FIX to HTTP 
</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;localEntry key=&quot;xslt-key-req&quot; 
src=&quot;file:repository/conf/sample/resources/transform/transform_fix_to_http.xslt&quot;
 /&gt;
     &lt;proxy name=&quot;FIXProxy&quot; transports=&quot;fix&quot;&gt;
         &lt;target&gt;
@@ -2794,7 +2794,7 @@ mail clients don't allow the user to exp
 <a href="Synapse_Samples_Setup.html#fixparameters">FIX Transport Parameters 
</a>. </p>
 <h2>
 <a name="Sample260" id="Sample260">Sample 260: Switch from FIX to AMQP 
</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
        &lt;proxy name=&quot;FIXProxy&quot; transports=&quot;fix&quot;&gt;
                &lt;target&gt;
                        &lt;endpoint&gt;
@@ -2840,7 +2840,7 @@ mail clients don't allow the user to exp
 <a href="Synapse_Samples_Setup.html#fixparameters">FIX Transport Parameters 
</a>. </p>
 <h2>
 <a name="Sample261" id="Sample261">Sample 261: Switch between FIX versions 
</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
      &lt;proxy name=&quot;OrderProcesserProxy41&quot; 
transports=&quot;fix&quot;&gt;
         &lt;target&gt;
            &lt;endpoint&gt;
@@ -2879,7 +2879,7 @@ SocketAcceptPort=19877</pre>
 <a href="Synapse_Samples_Setup.html#fixparameters">FIX Transport Parameters 
</a>. </p>
 <h2>
 <a name="Sample262" id="Sample262">Sample 262: CBR of FIX messages</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;sequence name=&quot;CBR_SEQ&quot;&gt;
         &lt;in&gt;
             &lt;switch source=&quot;//message/body/field[@id='55']&quot;&gt;
@@ -2950,7 +2950,7 @@ SocketAcceptPort=19877</pre>
   
 <h2>
 <a name="Sample263" id="Sample263">Sample 263: Transport switching - JMS to 
http/s using JBoss Messaging(JBM) </a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;jms&quot;&gt;
         &lt;target&gt;
             &lt;inSequence&gt;
@@ -3020,7 +3020,7 @@ it will first try to read the content ty
   <h2>
     <a name="Sample264" id="Sample264">Sample 264: Sending Two-Way Messages 
Using JMS transport</a>
   </h2>
-  <pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;    
+  <pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;http&quot;&gt;
         &lt;target&gt;        
             &lt;endpoint&gt;
@@ -3151,7 +3151,7 @@ it will first try to read the content ty
 <a name="Task" id="Task">Introduction to Synapse Tasks</a> </h1>
 <h2>
 <a name="Sample300" id="Sample300">Sample 300: Introduction to Tasks with 
simple trigger</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;task 
class=&quot;org.apache.synapse.startup.tasks.MessageInjector&quot; 
name=&quot;CheckPrice&quot;&gt;
         &lt;property name=&quot;to&quot; 
value=&quot;http://localhost:9000/services/SimpleStockQuoteService&quot;/&gt;
@@ -3203,7 +3203,7 @@ it will first try to read the content ty
 <pre xml:space="preserve">
 
 &lt;!-- Introduction to the script mediator using js scripts --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
         &lt;!-- the root property of the simple URL registry helps resolve a 
resource URL as root + key --&gt;
@@ -3267,7 +3267,7 @@ it will first try to read the content ty
 <p>Synapse uses the script mediator and the specified JavaScript function to 
convert the custom request to a standard quote request. Subsequently the 
response received is transformed and sent back to the client. </p>
 <h2>
 <a name="Sample351" id="Sample351">Sample 351: In-line script mediation with 
JavaScript</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
         &lt;!-- transform the custom quote request into a standard quote 
requst expected by the service --&gt;
         &lt;script language=&quot;js&quot;&gt;&lt;![CDATA[
@@ -3310,7 +3310,7 @@ it will first try to read the content ty
 
 <h2>
 <a name="Sample352" id="Sample352">Sample 352: Accessing Synapse message 
context API methods using scripting language</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
        &lt;!-- change the MessageContext into a response and set a response 
payload --&gt;
        &lt;script language=&quot;js&quot;&gt;&lt;![CDATA[
@@ -3339,7 +3339,7 @@ stockquote:
      [java] Standard :: Stock price = $99.9</pre>
 <h2>
 <a name="Sample353" id="Sample353">Sample 353: Using Ruby scripts for 
mediation</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;localEntry key=&quot;stockquoteScript&quot; 
src=&quot;file:repository/conf/sample/resources/script/stockquoteTransform.rb&quot;/&gt;
     &lt;in&gt;
@@ -3392,7 +3392,7 @@ end
 <a name="Sample354" id="Sample354">Sample 354: Using In-lined Ruby scripts for 
mediation</a></h2>
 <div>
 <pre xml:space="preserve">      &lt;!-- Using In-lined Ruby scripts for 
mediation --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
         &lt;script language=&quot;rb&quot;&gt;
             &lt;![CDATA[
@@ -3442,7 +3442,7 @@ end
 
 <h2>
 <a name="Sample360" id="Sample360">Sample 360: Introduction to dblookup 
mediator</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;myFaultHandler&quot;&gt;
         &lt;makefault response=&quot;true&quot;&gt;
@@ -3459,7 +3459,7 @@ end
                 &lt;property name=&quot;text&quot;
                           value=&quot;** Looking up from the Database 
**&quot;/&gt;
             &lt;/log&gt;
-            &lt;dblookup 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+            &lt;dblookup xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
                 &lt;connection&gt;
                     &lt;pool&gt;
                         
&lt;driver&gt;org.apache.derby.jdbc.ClientDriver&lt;/driver&gt;
@@ -3568,7 +3568,7 @@ end
 <p/>
 <h2>
 <a name="Sample361" id="Sample361">Sample 361: Introduction to dbreport 
mediator</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;main&quot;&gt;
         &lt;in&gt;
@@ -3584,7 +3584,7 @@ end
                 &lt;property name=&quot;text&quot;
                           value=&quot;** Reporting to the Database 
**&quot;/&gt;
             &lt;/log&gt;
-            &lt;dbreport 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+            &lt;dbreport xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
                 &lt;connection&gt;
                     &lt;pool&gt;
                         
&lt;driver&gt;org.apache.derby.jdbc.ClientDriver&lt;/driver&gt;
@@ -3711,7 +3711,7 @@ INFO LogMediator text = Stock price - 15
 <div>
 <p>Prior to run this sample please follow the 'Setting up Synapse DataSources' 
section in the 
 <a href="Synapse_Samples_Setup.html">sample setup guide</a>.</p>
-<pre>&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre>&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;sequence name=&quot;myFaultHandler&quot;&gt;
         &lt;makefault response=&quot;true&quot;&gt;
             &lt;code value=&quot;tns:Receiver&quot; 
xmlns:tns=&quot;http://www.w3.org/2003/05/soap-envelope&quot;/&gt;
@@ -3937,7 +3937,7 @@ INFO LogMediator text = Stock price - 18
 <a name="Throttle" id="Throttle">Throttling messages (Throttle 
Mediator)</a></h2>
 <h2>
 <a name="Sample370" id="Sample370">Sample 370: Introduction to throttle 
mediator and concurrency throttling</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;sequence name=&quot;main&quot;&gt;
         &lt;in&gt;
             &lt;throttle id=&quot;A&quot;&gt;
@@ -3992,7 +3992,7 @@ INFO LogMediator text = Stock price - 18
 <p/>
 <h2>
 <a name="Sample371" id="Sample371">Sample 371: Restricting requests based on 
policies </a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;sequence name=&quot;main&quot;&gt;
         &lt;in&gt;
             &lt;throttle id=&quot;A&quot;&gt;
@@ -4100,7 +4100,7 @@ INFO LogMediator text = Stock price - 18
 <h2>
 <a name="Sample372" id="Sample372">Sample 372: Use of both concurrency 
throttling and request rate based throttling </a></h2>
 <pre xml:space="preserve">&lt;!-- Use of both concurrency throttling and 
request rate based throttling --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
         &lt;!-- the root property of the simple URL registry helps resolve a 
resource URL as root + key --&gt;
@@ -4162,7 +4162,7 @@ INFO LogMediator text = Stock price - 18
 <p>Class mediator can be used to write your own custom mediation in Java and 
you have access to the SynapseMessageContext and to the full Synapse API in 
there. This is a useful extension mechanism within Synapse to extend its 
functionality. This class can contain fields for which you can assign values at 
runtime through the configuration. </p>
 <h2>
 <a name="Sample380" id="Sample380">Sample 380: Writing your own custom 
mediation in Java</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;sequence name=&quot;fault&quot;&gt;
         &lt;makefault&gt;
@@ -4300,7 +4300,7 @@ Discounted price: 138.77458254967408</pr
 <p/>
 <h2>        
 <a name="Sample381" id="Sample381">Sample 381:Class mediator to CBR binary 
messages</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
        &lt;proxy name=&quot;JMSBinaryProxy&quot; transports=&quot;jms&quot;&gt;
                &lt;target inSequence=&quot;BINARY_CBR_SEQ&quot; /&gt;
        &lt;/proxy&gt;
@@ -4369,7 +4369,7 @@ Discounted price: 138.77458254967408</pr
 <h2>
 <a name="Sample390" id="Sample390">Sample 390: Introduction to the XQuery 
mediator</a></h2>
 <pre xml:space="preserve">    &lt;!-- Introduction to the XQuery mediator 
--&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;!-- the SimpleURLRegistry allows access to a URL based registry (e.g. 
file:/// or http://) --&gt;
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
@@ -4426,7 +4426,7 @@ Discounted price: 138.77458254967408</pr
 <p/>
 <h2>
 <a name="Sample391" id="Sample391">Sample 391: How to use data from an 
external XML document with in XQuery </a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;!-- the SimpleURLRegistry allows access to  URL based registry (e.g. 
file:/// or http://) --&gt;
     &lt;registry 
provider=&quot;org.apache.synapse.registry.url.SimpleURLRegistry&quot;&gt;
@@ -4471,7 +4471,7 @@ Discounted price: 138.77458254967408</pr
 <a name="Splitter" id="Splitter">Splitting messages in to parts and process in 
parallel (Iterate / Clone)</a></h2>
 <h2>
 <a name="Sample400" id="Sample400">Sample 400: Message splitting and 
aggregating the responses</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
 
     &lt;proxy name=&quot;SplitAggregateProxy&quot;&gt;
         &lt;target&gt;
@@ -4516,7 +4516,7 @@ Discounted price: 138.77458254967408</pr
 <p>Cache mediator can be used to utilize the network bandwidth, to protect the 
backend service from being loaded with the same type of requests like browser 
refresh actions and also to speed up the execution of the web service. This 
mediator should be used with sense, because it is not applicable for each and 
every service (for example services with dynamic responses for a particular 
release) </p>
 <h2>
 <a name="Sample420" id="Sample420">Sample 420: Simple cache implemented on 
Synapse for the actual service</a></h2>
-<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+<pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;in&gt;
         &lt;cache timeout=&quot;20&quot; scope=&quot;per-host&quot; 
collector=&quot;false&quot;
                
hashGenerator=&quot;org.wso2.caching.digest.DOMHASHGenerator&quot;&gt;
@@ -4550,7 +4550,7 @@ Discounted price: 138.77458254967408</pr
 <h2>
 <a name="Sample430" id="Sample430">Sample 430: Simple Callout Mediator for 
synchronizing web service invocation</a></h2>
 <pre xml:space="preserve">    &lt;!-- Simple callout  mediator --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;callout 
serviceURL=&quot;http://localhost:9000/services/SimpleStockQuoteService&quot;
              action=&quot;urn:getQuote&quot;&gt;
         &lt;source 
xmlns:s11=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
@@ -4832,7 +4832,7 @@ following on the console:</p>
       <a name="Sample500" id="Sample500">Sample 500: Simple Eventing Sample</a>
     </h2>
 <pre xml:space="preserve">&lt;!-- Simple Eventing configuration --&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
      &lt;eventSource name=&quot;SampleEventSource&quot;&gt;
            &lt;subscriptionManager 
class=&quot;org.apache.synapse.eventing.managers.DefaultInMemorySubscriptionManager&quot;&gt;
                &lt;property name=&quot;topicHeaderName&quot; 
value=&quot;Topic&quot;/&gt;
@@ -4905,7 +4905,7 @@ following on the console:</p>
       <a name="Sample501" id="Sample501">Sample 501: EventSource with static 
subscriptions</a>
     </h2>
 <pre xml:space="preserve">&lt;!-- Eventing configuration with static 
subscriptions--&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
      &lt;eventSource name=&quot;SampleEventSource&quot;&gt;
            &lt;subscriptionManager 
class=&quot;org.apache.synapse.eventing.managers.DefaultInMemorySubscriptionManager&quot;&gt;
                &lt;property name=&quot;topicHeaderName&quot; 
value=&quot;Topic&quot;/&gt;
@@ -4958,7 +4958,7 @@ following on the console:</p>
          &#xa0;
        </p>
    <pre xml:space="preserve">&lt;!-- Eventing configuration with 
transformation before publish--&gt;
-&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+&lt;definitions xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
      &lt;eventSource name=&quot;SampleEventSource&quot;&gt;
            &lt;subscriptionManager 
class=&quot;org.apache.synapse.eventing.managers.DefaultInMemorySubscriptionManager&quot;&gt;
                &lt;property name=&quot;topicHeaderName&quot; 
value=&quot;Topic&quot;/&gt;
@@ -5133,7 +5133,7 @@ following on the console:</p>
    <h2>
          <a name="Sample650" id="Sample650">Sample 650: Priority Based Message 
Mediation</a>
    </h2>
-   <pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://synapse.apache.org/ns/2010/04/configuraiton&quot;&gt;
+   <pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;priorityExecutor name=&quot;exec&quot;&gt;
         &lt;queues&gt;
             &lt;queue size=&quot;100&quot; priority=&quot;1&quot;/&gt;


Reply via email to