Author: hiranya
Date: Sun Nov 28 03:09:37 2010
New Revision: 1039822

URL: http://svn.apache.org/viewvc?rev=1039822&view=rev
Log:
Samples 5, 6


Modified:
    
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample5.xml
    
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample6.xml

Modified: 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample5.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample5.xml?rev=1039822&r1=1039821&r2=1039822&view=diff
==============================================================================
--- 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample5.xml
 (original)
+++ 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample5.xml
 Sun Nov 28 03:09:37 2010
@@ -63,8 +63,8 @@
 &lt;/definitions&gt;</div>
             <subsection name="Objective">
                 <p>
-                    Introducing the makefault mediator for creating custom 
SOAP faults and demonstrating
-                    the message direction (in/out) change
+                    Demonstrating how makefault mediator can be used to 
construct custom SOAP
+                    faults and change the direction (in/out) of messages.
                 </p>
             </subsection>
             <subsection name="Pre-requisites">

Modified: 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample6.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample6.xml?rev=1039822&r1=1039821&r2=1039822&view=diff
==============================================================================
--- 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample6.xml
 (original)
+++ 
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample6.xml
 Sun Nov 28 03:09:37 2010
@@ -23,7 +23,7 @@
         <title>Apache Synapse - Sample 6</title>
     </properties>
     <body>
-        <section name="Sample 6: ">
+        <section name="Sample 6: Manipulating SOAP Headers and Filtering 
Incoming/Outgoing Messages">
             <div class="xmlConf">&lt;definitions 
xmlns="http://ws.apache.org/ns/synapse"&gt;
 
     &lt;sequence name="main"&gt;
@@ -36,7 +36,8 @@
 &lt;/definitions&gt;</div>
             <subsection name="Objective">
                 <p>
-
+                    Introduction to the header mediator for handling SOAP 
headers and the in/out
+                    mediators for filtering requests and responses.
                 </p>
             </subsection>
             <subsection name="Pre-requisites">
@@ -56,11 +57,23 @@
                 </p>
             </subsection>
             <subsection name="Executing the Client">
-                <div class="command">ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/</div>
-
-                <div class="consoleOutput">Sat Nov 18 21:01:23 IST 2006 
SimpleStockQuoteService :: Generating quote for : IBM</div>
-
-                <div class="consoleOutput">Standard :: Stock price = 
$95.26454380258552</div>
+                <p>
+                    In this sample we wil run the client in dumb client mode 
(ie without addressing
+                    information) as follows.
+                </p>
+                <div class="command">ant stockquote 
-Dtrpurl=http://localhost:8280/</div>
+                <p>
+                    The request is captured by the main sequence of Synapse 
and handed to the
+                    in mediator. The header mediator sets the WS-Addressing 
'To' header on the
+                    request. Finally the send mediator sends the message to 
the EPR specified in
+                    the addressing 'To' header.
+                </p>
+                <p>
+                    Response coming back from Axis2 will also get dispatched 
to the main sequence.
+                    But for the response the in mediator will not get 
executed. Only the send
+                    mediator will operate on responses which will simply send 
them back to the
+                    client.
+                </p>
             </subsection>
         </section>
         <p><a href="../samples.html">Back to Catalog</a></p>        


Reply via email to