Author: ruwan
Date: Sun Jun 21 04:30:23 2009
New Revision: 39515
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=39515

Log:
Documentation cleanup


Added:
   trunk/esb/java/docs/xdoc/faq.xml
Modified:
   trunk/esb/java/docs/site.xml
   trunk/esb/java/docs/xdoc/samples/rule_samples.xml

Modified: trunk/esb/java/docs/site.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/site.xml?rev=39515&r1=39514&r2=39515&view=diff
==============================================================================
--- trunk/esb/java/docs/site.xml        (original)
+++ trunk/esb/java/docs/site.xml        Sun Jun 21 04:30:23 2009
@@ -75,19 +75,19 @@
             <item name="Endpoints" 
href="samples/endpoint_mediation_samples.html"/>
             <item name="QoS Mediation" 
href="samples/qos_mediation_samples.html"/>
             <item name="Proxy Services" href="samples/proxy_samples.html"/>
-            <item name="Proxy QoS" href="samples/qos_proxy_samples.html"/>
+            <item name="QoS Proxies" href="samples/qos_proxy_samples.html"/>
             <item name="Transports" href="samples/transport_samples.html"/>
             <item name="Tasks" href="samples/task_samples.html"/>
             <item name="Advanced Mediation" 
href="samples/advanced_mediation_samples.html"/>
             <item name="Eventing" href="samples/eventing_samples.html"/>
+            <item name="Rules" href="samples/rule_samples.html"/>
         </menu>
         <menu name="Resources">
+            <item name="FAQ's" href="faq.html"/>
             <item name="Java Docs" 
href="http://ws.apache.org/synapse/apidocs/index.html"/>
-            <item name="Wiki" href="http://wso2.org/wiki/display/esbjava"/>
-            <!--<item name="FAQ" href="faq.html"/>-->
-            <!--<item name="Articles" href="articles.html"/>-->
             <item name="Forum" href="http://wso2.org/forum/187"/>
             <item name="Library" href="http://wso2.org/library/esb"/>
+            <item name="Wiki" href="http://wso2.org/wiki/display/esbjava"/>
         </menu>
 
         <menu name="Get Involved">

Added: trunk/esb/java/docs/xdoc/faq.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/faq.xml?pathrev=39515
==============================================================================
--- (empty file)
+++ trunk/esb/java/docs/xdoc/faq.xml    Sun Jun 21 04:30:23 2009
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+  ~
+  ~  WSO2 Inc. licenses this file to you under the Apache License,
+  ~  Version 2.0 (the "License"); you may not use this file except
+  ~  in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing,
+  ~  software distributed under the License is distributed on an
+  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~  KIND, either express or implied.  See the License for the
+  ~  specific language governing permissions and limitations
+  ~  under the License.
+  -->
+
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
+    <title>
+      WSO2 ESB - Documentation Index
+    </title>
+    <link href="css/esb-docs.css" rel="stylesheet"/>
+    <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" 
media="all"/>
+  </head>
+  <body xml:lang="en">
+    <h1>WSO2 Enterprise Service Bus (ESB) Frequently Asked Questions</h1>
+  </body>
+</html>
\ No newline at end of file

Modified: trunk/esb/java/docs/xdoc/samples/rule_samples.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/samples/rule_samples.xml?rev=39515&r1=39514&r2=39515&view=diff
==============================================================================
--- trunk/esb/java/docs/xdoc/samples/rule_samples.xml   (original)
+++ trunk/esb/java/docs/xdoc/samples/rule_samples.xml   Sun Jun 21 04:30:23 2009
@@ -30,8 +30,6 @@
 
 <h2>Introduction</h2>
 
-<p></p>
-
 <p>Rule mediator just pass the values extracted from the SOAP envelope, the
 Message Context, the registry to the rule engine and let to rule engine to take
 decision. Rule mediator defines the <strong>inputs</strong> (with in input tag)
@@ -55,10 +53,10 @@
 mediators. Then,what happens is , just pass the control to the next sibling
 mediator. </p>
 
-<h2 id="Sample">Sample 600 Rule mediator as a Filter - Simple rule based
+<h2 id="Sample600">Sample 600 Rule mediator as a Filter - Simple rule based
 routing (Using an in-lined rule script)</h2>
 
-<h4 id="synapse.xm7">synapse_sample_600.xml</h4>
+<h4 id="synapse.xml_600">synapse_sample_600.xml</h4>
 <pre>&lt;!-- Simple rule based routing  of messages - same as filter mediator 
--&gt;
 &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
 
@@ -140,8 +138,6 @@
 </div>
 <pre> ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/ -Dsymbol=IBM</pre>
 
-<p></p>
-
 <p>Then, you will get stock quote price in client side.</p>
 
 <p>In this sample , with in the rule mediator , the value which is extracted
@@ -172,10 +168,10 @@
 "IBM".</p>
 </div>
 
-<h2 id="Sample1">Sample 601 Rule mediator as a Filter - Simple rule based
+<h2 id="Sample601">Sample 601 Rule mediator as a Filter - Simple rule based
 routing (Using rule script from registry)</h2>
 
-<h4 id="synapse.xm1">synapse_sample_601.xml</h4>
+<h4 id="synapse.xml_601">synapse_sample_601.xml</h4>
 <pre> 
 &lt;!-- Simple rule based routing  of messages - same as filter mediator --&gt;
 &lt;&lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
@@ -261,19 +257,14 @@
 Start the Axis2 server and deploy the SimpleStockQuoteService if not already
 deployed</p>
 
-<p></p>
-
 <p>Please tests this sample same as above (600) sample because this has same
 functionality as above one.</p>
 
-<p></p>
-
-<h2 id="Sample2">Sample 602 Rule mediator as a Filter - Simple rule based
+<h2 id="Sample602">Sample 602 Rule mediator as a Filter - Simple rule based
 routing (Using an Drools native language </h2>
 
-<h4 id="synapse.xm2"><strong>synapse_sample_602.xml</strong></h4>
+<h4 id="synapse.xml_602"><strong>synapse_sample_602.xml</strong></h4>
 
-<p></p>
 <pre>&lt;!--  Simple rule based routing  of messages - same as filter mediator 
--&gt;
 &lt;!-- The use of Drools native language --&gt;
 
@@ -328,7 +319,6 @@
 <h4 id="rule1"><strong><bdo dir="ltr">rule script - simple_rule_base.drl
 </bdo></strong></h4>
 
-<p></p>
 <pre>&lt;drl&gt;
     &lt;![CDATA[
 package SimpleRoutingRules;
@@ -363,15 +353,13 @@
 Start the Axis2 server and deploy the SimpleStockQuoteService if not already
 deployed</p>
 
-<p></p>
-
 <p>Please tests this sample same as sample 600 because this has same
 functionality as it.</p>
 
-<h2 id="Sample3">Sample 603 Advance rule based routing - Switching routing
+<h2 id="Sample603">Sample 603 Advance rule based routing - Switching routing
 decision according to the rules - Rule mediator as Switch mediator </h2>
 
-<h4 id="synapse.xm3"><strong>synapse_sample_603.xml</strong></h4>
+<h4 id="synapse.xml_603"><strong>synapse_sample_603.xml</strong></h4>
 <pre>&lt;!-- Advance rule based routing - Switching routing decision from 
rules  --&gt;
 &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
     &lt;!-- the SimpleURLRegistry allows access to a URL based registry (e.g. 
file:/// or http://) --&gt;
@@ -451,7 +439,6 @@
 
 <h4 id="rule2"><strong>rule script - advanced_rule_base.xml </strong></h4>
 
-<p></p>
 <pre>&lt;package name="AdvancedRoutingRules"
          xmlns="http://drools.org/drools-5.0";
          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
@@ -522,8 +509,6 @@
 <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not already
 deployed </p>
 
-<p></p>
-
 <p>This sample shows how can rule mediator act as Switch mediator. In this
 sample, the use of input with type <strong>'sequence'</strong> is being
 introducing. The type 'sequence' indicates the synapse sequences. This enables
@@ -564,10 +549,10 @@
 <div>
 </div>
 
-<h2 id="Sample4">Sample 604 Simple message transformation - Rule mediator for
+<h2 id="Sample604">Sample 604 Simple message transformation - Rule mediator for
 message transformation</h2>
 
-<h4 id="synapse.xm4"><strong>synapse_sample_604.xml</strong></h4>
+<h4 id="synapse.xml_604"><strong>synapse_sample_604.xml</strong></h4>
 <pre>&lt;!-- Simple rule based transformation (changing message )  --&gt;
 
 &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
@@ -611,7 +596,6 @@
 
 <h4 id="rule3"><strong>rule script - always_ibm.xml </strong></h4>
 
-<p></p>
 <pre>&lt;package name="SimpleMessageTransformationRules"
          xmlns="http://drools.org/drools-5.0";
          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
@@ -652,18 +636,12 @@
 <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not already
 deployed</p>
 
-<p></p>
-
 <p>In this sample , a simple transformation is happened . If the symbol is
 either SUN or MSFT , then it will changed into IBM in the SOAP envelope and
 then invoke the external service.</p>
 
-<p></p>
-
 <p>Run client as </p>
 <pre>ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/ -Dsymbol=MSFT</pre>
-<pre></pre>
-
 <p>Or as </p>
 <pre>ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/ -Dsymbol=SUN</pre>
 
@@ -673,11 +651,9 @@
 <p>Then check the axis2server log or console . </p>
 <pre>Mon Mar 03 16:33:05 IST 2008 samples.services.SimpleStockQuoteService :: 
Generating quote for : IBM</pre>
 
-<p></p>
+<h2 id="Sample605">Sample 605 Simple message transformation </h2>
 
-<h2 id="Sample5">Sample 605 Simple message transformation </h2>
-
-<h4 id="synapse.xm5"><strong>synapse_sample_605.xml</strong></h4>
+<h4 id="synapse.xml_605"><strong>synapse_sample_605.xml</strong></h4>
 <pre>&lt;!-- Simple rule based transformation (changing message ) --&gt;
 &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
     &lt;!-- the SimpleURLRegistry allows access to a URL based registry (e.g. 
file:/// or http://) --&gt;
@@ -723,7 +699,6 @@
 
 <h4 id="rule4"><strong>rule script - commission_rule.xml </strong></h4>
 
-<p></p>
 <pre>&lt;package name="SimpleMessageTransformationRules"
          xmlns="http://drools.org/drools-5.0";
          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
@@ -784,10 +759,10 @@
 <pre> Standard :: Stock price = $3082.1975970450094</pre>
 </div>
 
-<h2 id="Sample6">Sample 606 Advanced transformation and use of custom Java
+<h2 id="Sample606">Sample 606 Advanced transformation and use of custom Java
 objects </h2>
 
-<h4 id="synapse.xm6"><strong>synapse_sample_606.xml</strong></h4>
+<h4 id="synapse.xml_606"><strong>synapse_sample_606.xml</strong></h4>
 <pre>&lt;!-- Transformation with custom Java object --&gt;
 
 &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
@@ -873,7 +848,6 @@
 <h4 id="rule5"><strong>rule script for request transformation -
 tranform_forward_rule.drl </strong></h4>
 
-<p></p>
 <pre>&lt;drl&gt;
     &lt;![CDATA[
 package ForwardTransformation;
@@ -958,15 +932,11 @@
 in the synapse (esb) samples). Both of the request and response are
 transformed.</p>
 
-<p></p>
-
 <p>In this sample , use CUTOM Java objects to archive the easy transformation.
 if the the toString() method returns a valid XML , it is possible to attached
 it into SOPA envelope. It is same concepts as serializing object into XML . In
 the sample used following Java Objects</p>
 
-<p></p>
-
 <p><strong>For input transformation</strong></p>
 <pre>
  package samples;   
@@ -1038,6 +1008,5 @@
 <p>Runs the client in custom mode as follows </p>
 <pre>ant stockquote 
-Daddurl=http://localhost:9000/services/SimpleStockQuoteService 
-Dtrpurl=http://localhost:8280/ -Dmode=customquote</pre>
 
-<p></p>
 </body>
 </html>

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to