Author: hiranya
Date: Thu Dec 22 15:51:46 2011
New Revision: 1222292
URL: http://svn.apache.org/viewvc?rev=1222292&view=rev
Log:
Documentation update
Added:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample156.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample157.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample158.xml
- copied, changed from r1222182,
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample440.xml
Removed:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample440.xml
Modified:
synapse/trunk/scratch/hiranya/website/src/site/site.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/download.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/mediators.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample800.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/setup/script.xml
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/transports.xml
Modified: synapse/trunk/scratch/hiranya/website/src/site/site.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/site.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
--- synapse/trunk/scratch/hiranya/website/src/site/site.xml (original)
+++ synapse/trunk/scratch/hiranya/website/src/site/site.xml Thu Dec 22 15:51:46
2011
@@ -39,14 +39,15 @@
<item name="Installation Guide"
href="userguide/installation.html"/>
<item name="Quick Start Guide" href="userguide/quick_start.html"/>
<item name="Samples Setup Guide"
href="userguide/samples/setup/index.html"/>
- <item name="Extending Synapse" href="userguide/extending.html"/>
<item name="Samples Catalog" href="userguide/samples.html"/>
<item name="Configuration Language" href="userguide/config.html"/>
+ <item name="Mediators Catalog" href="userguide/mediators.html"/>
+ <item name="Transports Catalog" href="userguide/transports.html"/>
+ <item name="Extending Synapse" href="userguide/extending.html"/>
<item name="Upgrading" href="userguide/upgrading.html"/>
<item name="Deployment" href="userguide/deployment.html"/>
- <item name="Transport" href="userguide/transports.html"/>
<item name="Javadocs" href="apidocs/"/>
- <item name="FAQ" href="apidocs/"/>
+ <item name="FAQ" href="userguide/faq.html"/>
</menu>
<menu name="Developer Resources">
<item name="Developer Guide " href="developer-guide.html"/>
@@ -55,7 +56,7 @@
<item name="How to Contribute"/>
</menu>
<menu name="Project Details">
- <item name="Overview" href="project-details.html"/>
+ <item name="Overview" href="project-info.html"/>
<item name="Mailing Lists" href="mail-lists.html"/>
<item name="Source Repository" href="source-repository.html"/>
<item name="Issue Tracking" href="issue-tracking.html"/>
Modified: synapse/trunk/scratch/hiranya/website/src/site/xdoc/download.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/download.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
--- synapse/trunk/scratch/hiranya/website/src/site/xdoc/download.xml (original)
+++ synapse/trunk/scratch/hiranya/website/src/site/xdoc/download.xml Thu Dec 22
15:51:46 2011
@@ -35,11 +35,11 @@
<th>Release Date</th>
<th>Release Note</th>
</tr>
- <th>
+ <tr>
<td><a href="download/2.1/download.cgi">2.1</a></td>
<td>22-Dec-2011</td>
<td>View</td>
- </th>
+ </tr>
</table>
</section>
<section name="Download Previous Releases">
@@ -48,26 +48,26 @@
<th>Version</th>
<th>Release Date</th>
</tr>
- <th>
+ <tr>
<td><a href="download/2.0.0/download.cgi">2.0.0</a></td>
<td>30-Nov-2010</td>
- </th>
- <th>
+ </tr>
+ <tr>
<td><a href="download/1.2/download.cgi">1.2</a></td>
<td>9-Jun-2008</td>
- </th>
- <th>
+ </tr>
+ <tr>
<td><a href="download/1.1.1/download.cgi">1.1.1</a></td>
<td>28-Jan-2008</td>
- </th>
- <th>
+ </tr>
+ <tr>
<td><a href="download/1.1/download.cgi">1.1</a></td>
<td>12-Nov-2007</td>
- </th>
- <th>
+ </tr>
+ <tr>
<td><a href="download/2.0.0/download.cgi">1.0</a></td>
<td>08-Jun-2007</td>
- </th>
+ </tr>
</table>
</section>
</body>
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/mediators.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/mediators.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
--- synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/mediators.xml
(original)
+++ synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/mediators.xml
Thu Dec 22 15:51:46 2011
@@ -3,6 +3,12 @@
<title>Apache Synapse - Mediators Catalog</title>
</properties>
<body>
+ <section name="Mediators Catalog">
+ <p>
+ This document lists all the built-in mediators of Synapse and
describes their
+ usage, functionality and configuration syntax.
+ </p>
+ </section>
<section name="Contents">
<ul>
<li><a href="#Intro">Introduction</a></li>
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
--- synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples.xml
(original)
+++ synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples.xml
Thu Dec 22 15:51:46 2011
@@ -86,6 +86,9 @@
<li><a href="samples/sample153.html">Sample 153:
Routing the messages without processing the security headers</a></li>
<li><a href="samples/sample154.html">Sample 154: Load
Balancing with proxy services</a></li>
<li><a href="samples/sample155.html">Sample 155: Dual
channel invocation on client side and server side</a></li>
+ <li><a href="samples/sample156.html">Sample 156:
Service integration with specifying the receiving sequence</a></li>
+ <li><a href="samples/sample157.html">Sample 157:
Conditional router mediator for implementing complex routing scenarios</a></li>
+ <li><a href="samples/sample158.html">Sample 158:
Exposing a SOAP service over JSON</a></li>
</ul>
</p>
</subsection>
@@ -241,14 +244,6 @@
</ul>
</p>
</subsection>
- <subsection name="Mediating JSON Messages">
- <p>
- <ul>
- <!-- This sample should be renamed -->
- <li><a href="#Sample440">Sample 440: Exposing a SOAP
service over JSON</a></li>
- </ul>
- </p>
- </subsection>
<subsection name="REST API">
<p>
<ul>
Added:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample156.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample156.xml?rev=1222292&view=auto
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample156.xml
(added)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample156.xml
Thu Dec 22 15:51:46 2011
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF 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.
+ -->
+
+<document>
+ <properties>
+ <title>Apache Synapse - Sample 156</title>
+ </properties>
+ <body>
+ <section name="Sample 156: Service Integration with Specifying the
Receiving Sequence">
+ <div class="xmlConf"><definitions
xmlns="http://ws.apache.org/ns/synapse">
+ <localEntry key="sec_policy"
src="file:repository/conf/sample/resources/policy/policy_3.xml"/>
+ <proxy name="StockQuoteProxy">
+ <target>
+ <inSequence>
+ <enrich>
+ <source type="body"/>
+ <target type="property"
property="REQUEST"/>
+ </enrich>
+
+ <send receive="SimpleServiceSeq">
+ <endpoint name="secure">
+ <address
uri="http://localhost:9000/services/SecureStockQuoteService">
+ <enableSec policy="sec_policy"/>
+ </address>
+ </endpoint>
+ </send>
+ </inSequence>
+ <outSequence>
+ <drop/>
+ </outSequence>
+ </target>
+ </proxy>
+
+ <sequence name="SimpleServiceSeq">
+ <property name="SECURE_SER_AMT"
expression="//ns:getQuoteResponse/ns:return/ax21:last"
+ xmlns:ns="http://services.samples"
xmlns:ax21="http://services.samples/xsd"/>
+ <log level="custom">
+ <property name="SecureStockQuoteService-Amount"
expression="get-property('SECURE_SER_AMT')"/>
+ </log>
+ <enrich>
+ <source type="body"/>
+ <target type="property"
property="SecureService_Res"/>
+ </enrich>
+ <enrich>
+ <source type="property"
property="REQUEST"/>
+ <target type="body"/>
+ </enrich>
+ <send receive="ClientOutSeq">
+ <endpoint name="SimpleStockQuoteService">
+ <address
uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+ </endpoint>
+ </send>
+ </sequence>
+
+ <sequence name="ClientOutSeq">
+ <property name="SIMPLE_SER_AMT"
expression="//ns:getQuoteResponse/ns:return/ax21:last"
+ xmlns:ns="http://services.samples"
xmlns:ax21="http://services.samples/xsd"/>
+ <log level="custom">
+ <property name="SimpleStockQuoteService-Amount"
expression="get-property('SIMPLE_SER_AMT')"/>
+ </log>
+ <enrich>
+ <source type="body"/>
+ <target type="property"
property="SimpleService_Res"/>
+ </enrich>
+
+ <filter
xpath="fn:number(get-property('SIMPLE_SER_AMT')) >
fn:number(get-property('SECURE_SER_AMT'))">
+ <then>
+ <log>
+ <property name="StockQuote"
value="SecureStockQuoteService"/>
+ </log>
+ <enrich>
+ <source type="property"
property="SecureService_Res"/>
+ <target type="body"/>
+ </enrich>
+ </then>
+ <else>
+ <log>
+ <property name="StockQuote"
value="SimpleStockQuoteService"/>
+ </log>
+ </else>
+ </filter>
+ <send/>
+ </sequence>
+</definitions></div>
+ <subsection name="Objective">
+ <p>
+ Synapse is capable of mediating requests among multiple
services and managing
+ complex message flows thereby acting as a lightweight
orchestration engine. This
+ sample demonstrates how to easily integrate multiple
services with Synapse using
+ the 'receiving sequence' feature of Synapse.
+ </p>
+ </subsection>
+ <subsection name="Pre-requisites">
+ <p>
+ <ul>
+ <li>
+ Deploy the SimpleStockQuoteService in the sample
Axis2 server
+ </li>
+ <li>
+ Deploy the SecureStockQuoteService in the sample
Axis2 server and start Axis2
+ </li>
+ <li>
+ Start Synapse using the configuration numbered 156
(repository/conf/sample/synapse_sample_156.xml)
+ <div class="command">
+ Unix/Linux: sh synapse.sh -sample 156<br/>
+ Windows: synapse.bat -sample 156
+ </div>
+ </li>
+ </ul>
+ </p>
+ </subsection>
+ <subsection name="Executing the Client">
+ <p>
+ This sample includes a proxy service which first forwards
the client request to
+ the SecureStockQuoteService. Once a response has been
received from this service,
+ Synapse will turn around and invoke the
SimpleStockQuoteService. To do this proxy
+ service must hold on to the original request in memory.
This is done using an
+ enrich mediator. Once Synapse has received a response from
the SimpleStockQuoteService
+ it will compare the two responses received from the two
services and select the
+ one with the lower stock quote value. This response will
be then sent to the
+ client.
+ </p>
+ <p>
+ The important feature to note here is the 'receive'
attribute set on the 'send'
+ mediators. This tells Synapse that responses of those send
operations should be
+ directed to the sequences referred by the 'receive'
attribute. Therefore the
+ response from the SecureStockQuoteService is directed to
the sequence named
+ 'SimpleServiceSeq'. Similarly the response from the
SimpleStockQuoteService will
+ be handled by the sequence named 'ClientOutSeq'.
+ </p>
+ <p>
+ To try this out, execute the stock quote client as follows:
+ </p>
+ <div class="command">ant stockquote
-Daddurl=http://localhost:8280/services/StockQuoteProxy</div>
+ <p>
+ You can confirm that Synapse invokes both services by
going through the console
+ output of the Axis2 server. However Axis2 client will
receive only one response
+ back. As far as the client is concerned, only one HTTP
transaction is taking place.
+ But Synapse does multiple service invocations with the
back-end to make the whole
+ integration scenario tick.
+ </p>
+ </subsection>
+ </section>
+ <p><a href="../samples.html">Back to Catalog</a></p>
+ </body>
+</document>
\ No newline at end of file
Added:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample157.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample157.xml?rev=1222292&view=auto
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample157.xml
(added)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample157.xml
Thu Dec 22 15:51:46 2011
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF 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.
+ -->
+
+<document>
+ <properties>
+ <title>Apache Synapse - Sample 157</title>
+ </properties>
+ <body>
+ <section name="Sample 157: Conditional Router Mediator for
Implementing Complex Routing Scenarios">
+ <div class="xmlConf"><definitions
xmlns="http://ws.apache.org/ns/synapse">
+ <proxy name="StockQuoteProxy" transports="https
http" startOnLoad="true" trace="disable">
+ <target>
+ <inSequence>
+ <conditionalRouter continueAfter="false">
+ <conditionalRoute breakRoute="false">
+ <condition>
+ <match xmlns=""
type="header" source="foo" regex="bar.*"/>
+ </condition>
+ <target sequence="cnd1_seq"/>
+ </conditionalRoute>
+
+ <conditionalRoute breakRoute="false">
+ <condition>
+ <and xmlns="">
+ <match type="header"
source="my_custom_header1" regex="foo.*"/>
+ <match type="url"
regex="/services/StockQuoteProxy.*"/>
+ </and>
+ </condition>
+ <target sequence="cnd2_seq"/>
+ </conditionalRoute>
+
+ <conditionalRoute breakRoute="false">
+ <condition>
+ <and xmlns="">
+ <match type="header"
source="my_custom_header2" regex="bar.*"/>
+ <equal type="param"
source="qparam1" value="qpv_foo"/>
+ <or>
+ <match type="url"
regex="/services/StockQuoteProxy.*"/>
+ <match type="header"
source="my_custom_header3" regex="foo.*"/>
+ </or>
+ <not>
+ <equal type="param"
source="qparam2" value="qpv_bar"/>
+ </not>
+ </and>
+ </condition>
+ <target sequence="cnd3_seq"/>
+ </conditionalRoute>
+ </conditionalRouter>
+ </inSequence>
+ <outSequence>
+ <send/>
+ </outSequence>
+ </target>
+ </proxy>
+
+ <sequence name="cnd1_seq">
+ <log level="custom">
+ <property name="MSG_FLOW" value="Condition (I)
Satisfied"/>
+ </log>
+ <sequence key="send_seq"/>
+ </sequence>
+ <sequence name="cnd2_seq">
+ <log level="custom">
+ <property name="MSG_FLOW" value="Condition (II)
Satisfied"/>
+ </log>
+ <sequence key="send_seq"/>
+ </sequence>
+ <sequence name="cnd3_seq">
+ <log level="custom">
+ <property name="MSG_FLOW" value="Condition (III)
Satisfied"/>
+ </log>
+ <sequence key="send_seq"/>
+ </sequence>
+
+ <sequence name="send_seq">
+ <log level="custom">
+ <property name="DEBUG" value="Condition
Satisfied"/>
+ </log>
+ <send>
+ <endpoint name="simple">
+ <address
uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+ </endpoint>
+ </send>
+ </sequence>
+</definitions></div>
+ <subsection name="Objective">
+ <p>
+ Conditional router mediator can be used to implement
complex routing rules in
+ Synapse. It can route messages to various endpoints based
on URLs, query parameters
+ and transport headers. This sample demonstrates how to use
the conditional router
+ mediator within a proxy service to build a smart routing
proxy.
+ </p>
+ </subsection>
+ <subsection name="Pre-requisites">
+ <p>
+ <ul>
+ <li>
+ Deploy the SimpleStockQuoteService in the sample
Axis2 server a d start
+ Axis2 server.
+ </li>
+ <li>
+ Start Synapse using the configuration numbered 157
(repository/conf/sample/synapse_sample_157.xml)
+ <div class="command">
+ Unix/Linux: sh synapse.sh -sample 157<br/>
+ Windows: synapse.bat -sample 157
+ </div>
+ </li>
+ </ul>
+ </p>
+ </subsection>
+ <subsection name="Executing the Client">
+ <p>
+ We will be using 'curl' as the client in this scenario. <a
href="http://curl.haxx.se/">Curl</a>
+ is a neat little command line tool that can be used to
generate various types
+ of HTTP requests (among other things).
+ </p>
+ <p>
+ First create a sample input file named stockQuoteReq.xml
with the following
+ content.
+ </p>
+ <div class="xmlConf"><soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:ser="http://services.samples"
xmlns:xsd="http://services.samples/xsd">
+ <soap:Header/>
+ <soap:Body>
+ <ser:getQuote>
+ <ser:request>
+ <xsd:symbol>IBM</xsd:symbol>
+ </ser:request>
+ </ser:getQuote>
+ </soap:Body>
+</soap:Envelope></div>
+ <p>
+ Invoke curl as follows to see header based routing feature
in action.
+ </p>
+ <div class="command">curl -d @stockQuoteReq.xml -H
"Content-Type: application/soap+xml;charset=UTF-8" -H "foo:bar"
"http://localhost:8280/services/StockQuoteProxy"</div>
+ <p>
+ This sends a HTTP request with a custom header named
'foo'. Proxy service will
+ detect this header and print a custom log message
confirming the receipt of the
+ request.
+ </p>
+ <p>
+ Now invoke curl as follows to test a combination header
and URL based routing.
+ </p>
+ <div class="command">curl -d @stockQuoteReq.xml -H
"Content-Type: application/soap+xml;charset=UTF-8" -H "my_custom_header1:foo1"
"http://localhost:8280/services/StockQuoteProxy"</div>
+ <p>
+ Finally invoke curl as follows to test routing based on
complex conditions.
+ </p>
+ <div class="command">curl -d @stockQuoteReq.xml -H
"Content-Type: application/soap+xml;charset=UTF-8" -H "my_custom_header2:bar"
-H "my_custom_header3:foo"
"http://localhost:8280/services/StockQuoteProxy?qparam1=qpv_foo&qparam2=qpv_foo2"</div>
+ <p>
+ In each case Synapse will log a different log entry
because the conditional router
+ mediator uses different sequences to process the three
messages.
+ </p>
+ </subsection>
+ </section>
+ <p><a href="../samples.html">Back to Catalog</a></p>
+ </body>
+</document>
\ No newline at end of file
Copied:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample158.xml
(from r1222182,
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample440.xml)
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample158.xml?p2=synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample158.xml&p1=synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample440.xml&r1=1222182&r2=1222292&rev=1222292&view=diff
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample440.xml
(original)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample158.xml
Thu Dec 22 15:51:46 2011
@@ -20,10 +20,10 @@
<document>
<properties>
- <title>Apache Synapse - Sample 440</title>
+ <title>Apache Synapse - Sample 158</title>
</properties>
<body>
- <section name="Sample 440: Exposing a SOAP service over JSON">
+ <section name="Sample 156: Exposing a SOAP service over JSON">
<div class="xmlConf"><definitions
xmlns="http://ws.apache.org/ns/synapse">
<proxy name="JSONProxy" transports="http https">
@@ -86,10 +86,10 @@
Deploy the SimpleStockQuoteService in the sample
Axis2 server and start Axis2
</li>
<li>
- Start Synapse using the configuration numbered 440
(repository/conf/sample/synapse_sample_440.xml)
+ Start Synapse using the configuration numbered 158
(repository/conf/sample/synapse_sample_158.xml)
<div class="command">
- Unix/Linux: sh synapse.sh -sample 440<br/>
- Windows: synapse.bat -sample 440
+ Unix/Linux: sh synapse.sh -sample 158<br/>
+ Windows: synapse.bat -sample 158
</div>
</li>
</ul>
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample800.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample800.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample800.xml
(original)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/sample800.xml
Thu Dec 22 15:51:46 2011
@@ -24,8 +24,7 @@
</properties>
<body>
<section name="Sample 800: Introduction to REST API">
- <div class="xmlConf"><!-- An empty flat synapse configuration
shipped with the WSO2 ESB -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+ <div class="xmlConf"><definitions
xmlns="http://ws.apache.org/ns/synapse">
<!-- You can add any flat sequences, endpoints, etc.. to this
synapse.xml file if you do
*not* want to keep the artifacts in several files -->
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/setup/script.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/setup/script.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/setup/script.xml
(original)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/samples/setup/script.xml
Thu Dec 22 15:51:46 2011
@@ -78,6 +78,9 @@
<a class="externalLink"
href="http://jettison.codehaus.org/Download">jettison.jar</a>
</li>
</ul>
+ <p>
+ Jettison 1.1 is recommended.
+ </p>
<p>
Having deployed the necessary libraries you should now
register the JSON message
builder and formatter with Synapse. Open up
'repository/conf/axis2.xml' file
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/transports.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/transports.xml?rev=1222292&r1=1222291&r2=1222292&view=diff
==============================================================================
---
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/transports.xml
(original)
+++
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/transports.xml
Thu Dec 22 15:51:46 2011
@@ -24,7 +24,7 @@
<title>Apache Synapse - Transports Catalog</title>
</properties>
<body>
- <section name="Introduction" id="Introduction">
+ <section name="Transports Catalog" id="Introduction">
<p>
The Synapse project has developed a set of transport
implementations that provide
protocol support and/or features that go beyond what is
provided out of the box by