Propchange: webservices/synapse/trunk/java/src/main/release/LICENSE
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/src/main/release/NOTICE
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/main/release/NOTICE?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
--- webservices/synapse/trunk/java/src/main/release/NOTICE (original)
+++ webservices/synapse/trunk/java/src/main/release/NOTICE Tue Nov 13 03:58:38
2007
@@ -1,26 +1,39 @@
-Apache Synapse
-Copyright (c) 2005 - 2007 The Apache Software Foundation
-
- =========================================================================
- == NOTICE file corresponding to the section 4 d of ==
- == the Apache License, Version 2.0, ==
- == in this case for the Apache Synapse distribution. ==
- =========================================================================
-
- This product includes software developed at
- The Apache Software Foundation (http://www.apache.org/).
-
-The Apache Synapse binary distribution includes software distributed under the
-Apache License (AL) Version 1.1, COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
-(CDDL) Version 1.0, and the Creative Commons Public Domain license. See the
-LICENSE file for details.
-
-COPYRIGHT NOTICES
-
-* Synapse binary is bundled with:
- jaxen-1.1-beta-10.jar
- Copyright 2003-2006 The Werken Company. All Rights Reserved.
- groovy-all-1.0.jar
- Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights
Reserved.
- jsch-0.1.31.jar
- Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka,
JCraft,Inc. All rights reserved.
+Apache Synapse
+Copyright (c) 2005 - 2007 The Apache Software Foundation
+
+ =========================================================================
+ == NOTICE file corresponding to the section 4 d of ==
+ == the Apache License, Version 2.0, ==
+ == in this case for the Apache Synapse distribution. ==
+ =========================================================================
+
+ This product includes software developed at
+ The Apache Software Foundation (http://www.apache.org/).
+
+The Apache Synapse binary distribution includes software distributed under the
+Apache License (AL) Version 1.1, COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
+(CDDL) Version 1.0, and the Creative Commons Public Domain license. See the
+LICENSE file for details.
+
+COPYRIGHT NOTICES
+
+Copyright (c) 2005-2007 The Apache Software Foundation. All rights reserved.
+
+* Synapse binary is bundled with:
+ jaxen-1.1.1.jar
+ Copyright 2003-2006 The Werken Company. All Rights Reserved.
+ groovy-all-1.0.jar
+ Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights
Reserved.
+ jsch-0.1.31.jar
+ Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka,
JCraft,Inc. All rights reserved.
+ bcprov-jdk13-132.jar
+ bcprov-jdk15-132.jar
+ Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle
(http://www.bouncycastle.org)
+ wrapper-3.2.3.jar
+ Copyright (c) 1999, 2006 Tanuki Software, Inc.
+ quartz-1.6.0.jar
+ Copyright 2004-2005 OpenSymphony
+ JLex-0.0.jar
+ Copyright 1996-2003 by Elliot Joel Berk and C. Scott Ananian
+ java-cup-0.0.jar
+ Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian
Propchange: webservices/synapse/trunk/java/src/main/release/NOTICE
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/src/main/release/README.txt
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/main/release/README.txt?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
--- webservices/synapse/trunk/java/src/main/release/README.txt (original)
+++ webservices/synapse/trunk/java/src/main/release/README.txt Tue Nov 13
03:58:38 2007
@@ -1,4 +1,4 @@
-Apache Synapse 1.0 build (May 2007) - http://ws.apache.org/synapse/
+Apache Synapse 1.1 build (November 2007) - http://ws.apache.org/synapse/
------------------------------------------------------------------------------------------
-------------------
@@ -11,20 +11,33 @@
synapse
/bin
synapse.sh
+ synapse-daemon.sh
synapse.bat
+ run-synapse-service.bat
+ install-synapse-service.bat
+ uninstall-synapse-service.bat
/docs
<documentation>
/lib
<libraries>
+ /patches
+ <any patches to be applied>
+ /endorsed
+ <any endorsed JARs>
+ trust.jks
+ identity.jks
log4j.properties
+ providers.xml
/repository
/conf
synapse.xml
axis2.xml
- /sample
- <sample configuration files>
- /resources
- <sample resources>
+ wrapper.conf
+ /sample
+ <sample configuration files>
+ /resources
+ <sample resources>
+ /modules
/samples
/axis2Client
<ant script to run sample clients>
@@ -52,7 +65,7 @@
For Synapse mediation samples please see the Synapse_Quickstart.html,
Synapse_Samples.html
and Synapse_Samples_Setup.html
-For more information on the Synapse Configuration language syntax and useage
refer to
+For more information on the Synapse Configuration language syntax and usage
refer to
Synapse_Configuration_Language.html
-------------------
@@ -72,7 +85,7 @@
Support
===================
-Please refer to the release_notes.txt file for information on commons issues
and the solutions.
+Please refer to the release_notes.txt file for information on common issues
and the solutions.
Any issues with this release can be reported to Apache Synapse mailing list or
in the JIRA issue tracker.
Propchange: webservices/synapse/trunk/java/src/main/release/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/src/main/release/docs/endorsed_libs.txt
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/main/release/docs/endorsed_libs.txt?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
--- webservices/synapse/trunk/java/src/main/release/docs/endorsed_libs.txt
(original)
+++ webservices/synapse/trunk/java/src/main/release/docs/endorsed_libs.txt Tue
Nov 13 03:58:38 2007
@@ -1,3 +1,3 @@
-Place libraries which should be placed in endorsed directories here.
-
+Place libraries which should be placed in endorsed directories here.
+
e.g. Xerces and its dependencies (xercesImpl.jar and xml-apis.jar)
Propchange:
webservices/synapse/trunk/java/src/main/release/docs/endorsed_libs.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/synapse/trunk/java/src/main/release/docs/release_notes.txt
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/main/release/docs/release_notes.txt?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
--- webservices/synapse/trunk/java/src/main/release/docs/release_notes.txt
(original)
+++ webservices/synapse/trunk/java/src/main/release/docs/release_notes.txt Tue
Nov 13 03:58:38 2007
@@ -1,86 +1,99 @@
-Apache Synapse 1.0 Release Notes
-
-1. Overview
- The Synapse project is a robust, lightweight implementation of a highly
scalable and distributed
- service mediation framework based on Web services and XML specifications.
-
- Apache Synapse graduated from the Apache Incubator on the 2nd of January
2007
- Please see http://ws.apache.org/synapse/ for more information
-
-2. Installation Prerequisites
-
- Apache Synapse requires a J2SE runtime of version 1.4.2 or later for
runtime. However if the
- https (SSL) transport is being used, Synapse requires JDK 1.5 as it uses a
NIO based https
- implementation, that is only possible with a JDK 1.5 or later (refer to
the Quick start guide
- for information on how to disable https). To build Synapse from source,
you will need JDK 1.5
- or and Apache Maven 2.0.6
-
-3. Quick start
- Please see the docs/Synapse_Quickstart.html guide
-
-4. Building the Samples
- Please see the documents docs/Synapse_Samples.html and
docs/Synapse_Samples_Setup.html
-
-5. Synapse configuration language
- Please see the document docs/Synapse_Configuration_Language.html
-
-6. Known Issues and limitations
- * http://issues.apache.org/jira/browse/SYNAPSE-99
- When makefault version is set to soap12 the fault detail gets printed twice
-
- This is caused by an underlying bug in the Axiom code that has already
been fixed. However,
- to include this into Synapse requires a new release of Axiom
-
- * http://issues.apache.org/jira/browse/SYNAPSE-91
- Address endpoint format soap11 and soap12 cannot be specified
-
- * https://issues.apache.org/jira/browse/SYNAPSE-100
- Synapse could be improved to support WS-RM 1.1
-
- * The non-blocking https transport does not work with a JDK version below 1.5
-
-7. Frequently asked questions
-
- * java.lang.UnsupportedClassVersionError: ... (Unsupported major.minor
version 49.0)
- This error would occur if you try to use the https transport (enabled by
default) with a JDK
- version earlier than 1.5. Refer the Quick start guide to find out how the
https transport
- could be disabled.
-
- * How can I change the default logging level of Synapse?
- Edit the lib/log4j.properties and set the line
"log4j.category.org.apache.synapse=INFO" to
- "log4j.category.org.apache.synapse=DEBUG" and restart Synapse.
-
- * If you get an error related to WS-Security or when using it, check to
ensure that your JDK
- uses the "Unlimited Strength Jurisdiction Policy Files". These could be
downloaded from
- http://java.sun.com/javase/downloads/index_jdk5.jsp Refer to the
associated documentation
- for instructions on how to install it to your JDK.
-
- * If you encounter issues with your JDK related to XML processing, try
placing the Xerces jar
- files xercesImpl-2.8.0.jar and xml-apis-1.3.03.jar in your
<JDK>/jre/lib/endorsed/ directory.
-
-
-8. Reporting Problems
-
- Please use Apache's JIRA system (http://issues.apache.org/jira/) to report
issues you find.
- You may also join the:
- synapse-dev mailing list by sending email to [EMAIL PROTECTED]
- synapse-user mailing list by sending email to [EMAIL PROTECTED]
-
-9. New features
-
- The 1.0 release
- * Non blocking HTTP and HTTPS transport based on Apache HttpCore/NIO
- * Enhanced Proxy services with in/out/fault sequences and endpoints,
inline sequence and WSDL
- support
- * WSDL endpoints
- * Load balancing and Failover endpoints
- * Throttling mediator
-
- The 0.91 release adds support for:
- * WS-Reliable Messaging Sequence management
- The 0.90 release adds support for:
- * WS-Security termination and initiation
- * WS-ReliableMessaging termination and initiation
- * Support for dynamic reloading and remote reigstries
- * Scripting mediators based on Apache BSF
- * Refactored and cleaner synapse configuration xml
+Apache Synapse 1.1 Release Notes
+
+1. Overview
+ The Synapse project is a robust, lightweight implementation of a highly
scalable and distributed
+ service mediation framework based on Web services and XML specifications.
+
+ Apache Synapse graduated from the Apache Incubator on the 2nd of January
2007
+ Please see http://ws.apache.org/synapse/ for more information
+
+ The first Synapse 1.0 was released on the 11th of June 2007
+
+2. Installation Prerequisites
+
+ Apache Synapse requires a J2SE runtime of version 1.5.x or later and
Apache Ant to run the samples.
+ Synapse requires JDK 1.5.x at runtime as it uses a NIO based https
implementation, that is only
+ possible with a JDK 1.5.x or later. To build Synapse from source, you will
need JDK 1.5.x, and
+ Apache Maven 2.0.6
+
+3. Quick start
+ Please see the docs/Synapse_Quickstart.html guide
+
+4. Building the Samples
+ Please see the documents docs/Synapse_Samples.html and
docs/Synapse_Samples_Setup.html
+
+5. Synapse configuration language
+ Please see the document docs/Synapse_Configuration_Language.html
+
+6. Extending Synapse
+ Please see the document docs/Synapse_Extending.html
+
+7. Known Issues and limitations
+
+ SYNAPSE-174 - The non-blocking http/s transports cannot handle WS-RM
requests
+ - Caused by the NIO http/s transport being out of sync with the latest
Sandesh2 codebase
+
+ SYNAPSE-170 - VFS transport listener sample - In the response sent via
email, all tags define the same namespace
+ - Caused by an Axis2 Mail transport limitation
+
+ SYNAPSE-161 - Can't persuade Rampart to send certificate serial + issuer -
only either BinaryToken or Identity
+ - Issue related to Apache Rampart
+
+ SYNAPSE-103 - WS-RM not returning response message
+ - related to SYNAPSE-174
+
+ The Synapse JMS implementation supports JMS 1.0.2b, however due to
licensing issues we include
+ the JMS 1.1 spec JAR from Apache Geronimo (geronimo-jms_1.1_spec-1.1.jar)
instead. If you have
+ any issues with JMS 1.0.x, please download the Sun JMS 1.0.2b JAR and
replace supplied JAR from
+ Geronimo.
+
+8. Frequently asked questions
+
+ * How can I change the default logging level of Synapse?
+ Edit the lib/log4j.properties and set the line
"log4j.category.org.apache.synapse=INFO" to
+ "log4j.category.org.apache.synapse=DEBUG" and restart Synapse.
+
+ * If you get an error related to WS-Security or when using it, check to
ensure that your JDK
+ uses the "Unlimited Strength Jurisdiction Policy Files". These could be
downloaded from
+ http://java.sun.com/javase/downloads/index_jdk5.jsp Refer to the
associated documentation
+ for instructions on how to install it to your JDK.
+
+ * If you encounter issues with your JDK related to XML processing, try
placing the Xerces jar
+ files xercesImpl-2.8.0.jar and xml-apis-1.3.03.jar in your
<JDK>/jre/lib/endorsed/ directory.
+
+9. Reporting Problems
+
+ Please use Apache's JIRA system (http://issues.apache.org/jira/) to report
issues you find.
+ You may also join the:
+ synapse-dev mailing list by sending email to [EMAIL PROTECTED]
+ synapse-user mailing list by sending email to [EMAIL PROTECTED]
+
+10. New features
+
+ The 1.1 release
+ * Apache VFS based file transport
+ * Scheduled Task support
+ * XQuery mediator
+ * POJO Command mediator
+ * DB Report and DB Lookup mediators
+ * Cache and Throttle mediators/enhancements
+ * Split/Clone/Aggregate mediators
+ * Improved logging and tracing support
+
+ The 1.0 release
+ * Non blocking HTTP and HTTPS transport based on Apache HttpCore/NIO
+ * Enhanced Proxy services with in/out/fault sequences and endpoints,
inline sequence and WSDL
+ support
+ * WSDL endpoints
+ * Load balancing and Failover endpoints
+ * Throttling mediator
+
+ The 0.91 release adds support for:
+ * WS-Reliable Messaging Sequence management
+
+ The 0.90 release adds support for:
+ * WS-Security termination and initiation
+ * WS-ReliableMessaging termination and initiation
+ * Support for dynamic reloading and remote reigstries
+ * Scripting mediators based on Apache BSF
+ * Refactored and cleaner synapse configuration xml
Propchange:
webservices/synapse/trunk/java/src/main/release/docs/release_notes.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
---
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
(original)
+++
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
Tue Nov 13 03:58:38 2007
@@ -177,7 +177,7 @@
service. A proxy service maybe a SOAP or POX service over http/s or SOAP, POX
or Plain Text service for other transports such as JMS and VFS - e.g. CSV
content being its payload. Thus Synapse is able to switch between these
-message formats and transports, as well as intrduce or terminate QoS aspects
+message formats and transports, as well as introduce or terminate QoS aspects
such as WS-Security/RM through proxy services. </p>
<p></p>
@@ -229,7 +229,7 @@
<parameter name="string">text | xml</parameter>*
</registry></pre>
-<p>Registry entries loaded from a remote registry are cached within Synapase
+<p>Registry entries loaded from a remote registry are cached within Synapse
as dictated by the registry, and reloaded after the cache periods expires.
Hence it is possible to define configuration elements such as (dynamic)
sequences and endpoints, as well as resources such as XSLT's or XSDs off the
@@ -250,7 +250,7 @@
<p>An entry can be static text specified as inline text or static XML
specified as an inline XML fragment or specified as a URL (using the src
-attribute). These local entries can overide any existing entries with the
+attribute). These local entries can override any existing entries with the
same keys of the remote registry. </p>
<p></p>
@@ -278,7 +278,7 @@
sequence, it executes the defined error handling sequence for the current
context - which may be specified as the 'onError' sequence for a sequence
mediator. If a fault sequence is not specified or cannot be found through the
-registry, Synapse will create a defualt fault sequence that will perform a
+registry, Synapse will create a default fault sequence that will perform a
default logging of the message at the log level 'full'.</p>
<p>If an optional error handler sequence name is specified on any sequence
@@ -306,7 +306,7 @@
</endpoint> </pre>
<p>All above endpoint types can have a name attribute. Such named endpoints
-can be reffered by other endpoints, which only contain the key attribute. For
+can be refered by other endpoints, which only contain the key attribute. For
example if there is an endpoint named as "foo", following endpoint can be
used in any place, where "foo" has to be used. A tracing enabled endpoint
would generate trace information into the trace log for each message that
@@ -353,7 +353,7 @@
<h4><a name="wsdl-endpoint">WSDL Endpoint</a></h4>
<p>WSDL endpoint is an endpoint based on a WSDL document. It can extract the
-target EPR from a given WSDL. The WSDL document can be specifed either as a
+target EPR from a given WSDL. The WSDL document can be specified either as a
URI or as an inlined definition within the configuration. The service and
port name containing the target EPR has to be specified in service and port
attributes respectively. enableRM, enableSec, enableAddressing,
@@ -409,7 +409,7 @@
as the primary and all other endpoints are treated as backups. Incoming
messages are always sent only to the primary endpoint. If the primary
endpoint fails, next active endpoint is selected as the primary and failed
-endpoint is marked as incative. Thus it sends messages successfully as long
+endpoint is marked as inactive. Thus it sends messages successfully as long
as there is at least one active endpoint among the listed endpoints.</p>
<pre><failover>
<endpoint .../>+
@@ -707,7 +707,7 @@
<li>custom = Only properties specified to the Log mediator</li>
</ul>
-<p>A separator if defined will be used to seperate the attributes being
+<p>A separator if defined will be used to separate the attributes being
logged. The default separator is the ',' comma.</p>
<p></p>
@@ -910,7 +910,7 @@
the message context. The DB connection used maybe looked up from an external
DataSource or specified in-line, in which case an Apache DBCP connection pool
is established and used. Apache DBCP connection pools support the following
-propeties:</p>
+properties:</p>
<ul>
<li>autocommit = true | false</li>
<li>isolation = Connection.TRANSACTION_NONE |
@@ -1002,12 +1002,12 @@
<p></p>
<p>The Throttle mediator can be used for rate limiting as well as concurrency
-based limiting. A WS-Policy dictates the throttling configuation and may be
-specified inline or loaded from the reistry. The Throttle mediator could be
+based limiting. A WS-Policy dictates the throttling configuration and may be
+specified inline or loaded from the registry. The Throttle mediator could be
added in the request path for rate limiting and concurrent access limitation.
When using for concurrent access limitation, the same throttle mediator ID
must be triggered on the response flow so that completed responses are
-deducted from the available limit. The aceeptance or rejection sequence is
+deducted from the available limit. The acceptance or rejection sequence is
executed depending on the evaluation of the throttling policy against the
current message.</p>
@@ -1042,7 +1042,7 @@
<p>The expressions will be evaluated against the current SOAP envelope.</p>
<h4><a name="cache">Cache</a></h4>
-<pre> <cache (id="string")? hashGenerator="class" scope="string"
timeout="mili-seconds">
+<pre> <cache (id="string")? hashGenerator="class" scope="string"
timeout="milliseconds">
<onCacheHit (sequence="key")?>
(mediator)+
</onCacheHit>
@@ -1070,8 +1070,8 @@
<p>The <clone> mediator closely resembles the Message Splitter EIP and
will split the message into number of identical messages all of which are
-identical with the clonning message and processed parallely using either the
-specified sequence or endpoint (or both). Clonning message (parent) can be
+identical with the cloning message and processed parallelly using either the
+specified sequence or endpoint (or both). Cloning message (parent) can be
continued or dropped depending on the boolean value of the continueParent
attribute which defaults to false and drops the parent when false. This drop
is not a general drop, rather stop the message processing but does not closes
@@ -1094,7 +1094,7 @@
message in to number of different messages derived from the parent message by
finding the matching elements of the XPATH expression specified in the
configuration. New messages will be created for each and every matching
-element and processed parallely using either the specified sequence or
+element and processed parallelly using either the specified sequence or
endpoint or both. Parent message can be continued or dropped in the same way
as in the clone mediator. Iterate parent drop also is a channel blocking drop
as per in the clone mediator.</p>
Modified:
webservices/synapse/trunk/java/src/site/resources/Synapse_QuickStart.html
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/site/resources/Synapse_QuickStart.html?rev=594498&r1=594497&r2=594498&view=diff
==============================================================================
--- webservices/synapse/trunk/java/src/site/resources/Synapse_QuickStart.html
(original)
+++ webservices/synapse/trunk/java/src/site/resources/Synapse_QuickStart.html
Tue Nov 13 03:58:38 2007
@@ -114,23 +114,10 @@
<p>You should have following pre-requisites installed on your system to
follow through this guide</p>
<ul>
- <li>A Java 2 SE - JDK or JRE of version 1.4.2 or higher</li>
+ <li>A Java 2 SE - JDK or JRE of version 1.5.x or higher</li>
<li>Apache Ant http://ant.apache.org</li>
</ul>
-<p>Note: To use the bundled https transport, you will need a Java 2 SE
-runtime of version 1.5 or later. If you are using a J2SE below 1.5 and does
-not require the https transport, you may comment out the following section
-from your repository/conf/axis2.xml and
-samples/axis2Server/repository/conf/axis2.xml configuration files.</p>
-<pre>...
- <transportReceiver name="https"...<br> ...<br>
</transportReceiver>
- ...
- <transportSender name="https"...<br> ...<br>
</transportSender>
-....</pre>
-
-<p></p>
-
<h2>Message Mediation</h2>
<p>In this example Synapse will be used to simply log all the messages
@@ -144,15 +131,15 @@
<p>Our first task is to download Synapse. Open a web browser and access the
following URL: http://ws.apache.org/synapse/download.cgi. You will then see
-the list of available releases. Click on the 1.0 version, and you will be
-directed to the Synapse 1.0 release download page. Now download the 'Standard
+the list of available releases. Click on the 1.1 version, and you will be
+directed to the Synapse 1.1 release download page. Now download the 'Standard
binary distribution' ZIP or tar.gz archive compatible with your operating
system.</p>
<h3>Installation</h3>
<p>Synapse can be installed just by extracting the downloaded binary
-archive.. A directory named synapse-1.0 will be created in the selected
+archive.. A directory named synapse-1.1 will be created in the selected
parent directory, containing all the files required for Synapse. We will
refer to this directory as <synapse-home> from now on.</p>
@@ -178,30 +165,31 @@
server. </p>
<p></p>
-<pre>[EMAIL PROTECTED]:/opt/synapse/samples/axis2Server$ cd
src/SimpleStockQuoteService/
[EMAIL PROTECTED]:/opt/synapse/samples/axis2Server/src/SimpleStockQuoteService$
ant
+<pre>[EMAIL PROTECTED]:/opt/synapse-1.1/samples/axis2Server$ cd
src/SimpleStockQuoteService/
[EMAIL
PROTECTED]:/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService$ ant
Buildfile: build.xml
clean:
- [delete] Deleting directory
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp
init:
- [mkdir] Created dir:
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp
- [mkdir] Created dir:
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/classes
+ [mkdir] Created dir:
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp
+ [mkdir] Created dir:
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/classes
+ [mkdir] Created dir:
/opt/synapse-1.1/samples/axis2Server/repository/services
compile-all:
- [javac] Compiling 9 source files to
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/classes
+ [javac] Compiling 9 source files to
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/classes
build-service:
- [mkdir] Created dir:
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote
- [mkdir] Created dir:
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
- [copy] Copying 1 file to
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
- [copy] Copying 1 file to
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
- [copy] Copying 9 files to
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote
- [jar] Building jar:
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/repository/services/SimpleStockQuoteService.aar
+ [mkdir] Created dir:
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote
+ [mkdir] Created dir:
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
+ [copy] Copying 1 file to
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
+ [copy] Copying 1 file to
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote/META-INF
+ [copy] Copying 9 files to
/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService/temp/SimpleStockQuote
+ [jar] Building jar:
/opt/synapse-1.1/samples/axis2Server/repository/services/SimpleStockQuoteService.aar
BUILD SUCCESSFUL
-Total time: 1 second</pre>
+Total time: 2 seconds
[EMAIL
PROTECTED]:/opt/synapse-1.1/samples/axis2Server/src/SimpleStockQuoteService$</pre>
<p>Now go to <synapse-home>/samples/axis2Server directory and start the
server using the following command. This will start Axis2 server on port 9000
@@ -214,16 +202,19 @@
</div>
<p>You will see the following messages on the console.</p>
-<pre>[EMAIL PROTECTED]:/opt/synapse/samples/axis2Server$ ./axis2server.sh
+<pre>[EMAIL PROTECTED]:/opt/synapse-1.1/samples/axis2Server$ ./axis2server.sh
+ Using Bouncy castle JAR for Java 1.5
Using JAVA_HOME: /opt/jdk1.5_06
- Using AXIS2 Repository :
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/repository
- Using AXIS2 Configuration :
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/repository/conf/axis2.xml
-[SimpleAxisServer] Using the Axis2 Repository :
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/repository
-[SimpleAxisServer] Using the Axis2 Configuration File :
/home/asankha/java/synapse-1.0-RC1-SNAPSHOT/samples/axis2Server/repository/conf/axis2.xml
-[main] INFO HttpCoreNIOSender - HTTPS Sender starting
-[main] INFO HttpCoreNIOSender - HTTP Sender starting
-[main] INFO HttpCoreNIOListener - HTTPS Listener starting on port : 9002
-[main] INFO HttpCoreNIOListener - HTTP Listener starting on port : 9000 </pre>
+ Using AXIS2 Repository : /opt/synapse-1.1/samples/axis2Server/repository
+ Using AXIS2 Configuration :
/opt/synapse-1.1/samples/axis2Server/repository/conf/axis2.xml
+2007-11-05 14:36:41,462 [-] [main] INFO SimpleHTTPServer [SimpleAxisServer]
Starting
+[SimpleAxisServer] Using the Axis2 Repository :
/opt/synapse-1.1/samples/axis2Server/repository
+[SimpleAxisServer] Using the Axis2 Configuration File :
/opt/synapse-1.1/samples/axis2Server/repository/conf/axis2.xml
+2007-11-05 14:36:43,864 [-] [main] INFO HttpCoreNIOSender HTTPS Sender
starting
+2007-11-05 14:36:43,891 [-] [main] INFO HttpCoreNIOSender HTTP Sender starting
+2007-11-05 14:36:44,288 [-] [main] INFO HttpCoreNIOListener HTTPS Listener
starting on port : 9002
+2007-11-05 14:36:44,298 [-] [main] INFO HttpCoreNIOListener HTTP Listener
starting on port : 9000
+2007-11-05 14:36:44,350 [-] [main] INFO SimpleHTTPServer [SimpleAxisServer]
Started</pre>
<p></p>
@@ -252,26 +243,30 @@
<p>Following messages will be displayed on the console to indicate the
successfull startup of Synapse.</p>
-<pre>[EMAIL PROTECTED]:/opt/synapse/bin$ ./synapse.sh -sample 0
+<pre>[EMAIL PROTECTED]:/opt/synapse-1.1/bin$ ./synapse.sh -sample 0
+ Using Bouncy castle JAR for Java 1.5
Starting Synapse/Java ...
-Using SYNAPSE_HOME: /opt/synapse
+Using SYNAPSE_HOME: /opt/synapse-1.1
Using JAVA_HOME: /opt/jdk1.5_06
-Using SYNAPSE_XML:
-Dsynapse.xml=/opt/synapse/repository/conf/sample/synapse_sample_0.xml
-[SynapseServer] Using the Axis2 Repository /opt/synapse/repository
-[main] INFO SynapseModule - Initializing the Synapse configuration ...
-...
-[main] INFO SynapseConfigurationBuilder - Loaded Synapse configuration from :
/opt/synapse/repository/conf/sample/synapse_sample_0.xml
-[main] INFO SynapseModule - Deploying the Synapse service..
-[main] INFO SynapseModule - Deploying Proxy services...
-[main] INFO SynapseModule - Synapse initialized successfully...!
-[main] ERROR SandeshaModule - Could not load module policies. Using default
values.
-[main] INFO HttpCoreNIOSender - HTTPS Sender starting
-[main] INFO HttpCoreNIOSender - HTTP Sender starting
-[main] INFO HttpCoreNIOListener - HTTPS Listener starting on port : 8443
-[SynapseServer] Starting transport https on port 8443
-[main] INFO HttpCoreNIOListener - HTTP Listener starting on port : 8080
-[SynapseServer] Starting transport http on port 8080
-[SynapseServer] Ready</pre>
+Using SYNAPSE_XML:
-Dsynapse.xml=/opt/synapse-1.1/repository/conf/sample/synapse_sample_0.xml
+2007-11-05 14:58:55,029 [-] [main] INFO ServerManager Using the Axis2
Repository /opt/synapse-1.1/repository
+2007-11-05 14:58:56,617 [-] [main] INFO SynapseInitializationModule
Initializing Synapse at : Mon Nov 05 14:58:56 LKT 2007
+2007-11-05 14:58:56,618 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Loading mediator extensions...
+2007-11-05 14:58:56,619 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Initializing the Synapse configuration ...
+2007-11-05 14:58:56,624 [127.0.1.1-asankha] [main] INFO
XMLConfigurationBuilder Generating the Synapse configuration model by parsing
the XML configuration
+2007-11-05 14:58:56,717 [127.0.1.1-asankha] [main] INFO
SynapseConfigurationBuilder Loaded Synapse configuration from :
/opt/synapse-1.1/repository/conf/sample/synapse_sample_0.xml
+2007-11-05 14:58:56,724 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Deploying the Synapse service..
+2007-11-05 14:58:56,740 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Initializing Sandesha 2...
+2007-11-05 14:58:56,801 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Deploying Proxy services...
+2007-11-05 14:58:56,801 [127.0.1.1-asankha] [main] INFO
SynapseInitializationModule Synapse initialized successfully...!
+2007-11-05 14:58:56,886 [127.0.1.1-asankha] [main] INFO HttpCoreNIOSender
HTTPS Sender starting
+2007-11-05 14:58:56,887 [127.0.1.1-asankha] [main] INFO HttpCoreNIOSender
HTTP Sender starting
+2007-11-05 14:58:57,039 [127.0.1.1-asankha] [main] INFO HttpCoreNIOListener
HTTPS Listener starting on port : 8443
+2007-11-05 14:58:57,040 [127.0.1.1-asankha] [main] INFO ServerManager
Starting transport https on port 8443
+2007-11-05 14:58:57,041 [127.0.1.1-asankha] [main] INFO HttpCoreNIOListener
HTTP Listener starting on port : 8080
+2007-11-05 14:58:57,041 [127.0.1.1-asankha] [main] INFO ServerManager
Starting transport http on port 8080
+2007-11-05 14:58:57,085 [127.0.1.1-asankha] [main] INFO ServerManager
Starting transport vfs
+2007-11-05 14:58:57,086 [127.0.1.1-asankha] [main] INFO ServerManager Ready
for processing</pre>
<p></p>
@@ -280,15 +275,17 @@
<p>Now the final step, running the client. Go to
<synapse-home>/samples/axis2Client directory and type the following
command</p>
-<pre>[EMAIL PROTECTED]:/opt/synapse/samples/axis2Client$ ant stockquote
-Daddurl=http://localhost:9000/soap/SimpleStockQuoteService
-Dtrpurl=http://localhost:8080 -Dmode=quote -Dsymbol=IBM
+<pre>[EMAIL PROTECTED]:/opt/synapse-1.1/samples/axis2Client$ ant stockquote
-Daddurl=http://localhost:9000/soap/SimpleStockQuoteService
-Dtrpurl=http://localhost:8080 -Dmode=quote -Dsymbol=IBM
Buildfile: build.xml
init:
+ [mkdir] Created dir: /opt/synapse-1.1/samples/axis2Client/target/classes
compile:
+ [javac] Compiling 10 source files to
/opt/synapse-1.1/samples/axis2Client/target/classes
stockquote:
- [java] Standard :: Stock price = $175.56196739870038
+ [java] Standard :: Stock price = $91.09641757880443
BUILD SUCCESSFUL</pre>
@@ -328,43 +325,49 @@
<p>Now take a look at the console running Synapse. You will see that all the
details of the mediation are logged along with all the SOAP messages passed
-through Synapse - as Synapse is running on debug mode by default.</p>
-<pre>[I/O reactor worker thread 5] INFO PipeImpl - Using native OS Pipes for
event-driven to stream IO bridging
-[HttpServerWorker-1] DEBUG SynapseMessageReceiver - Synapse received a new
message for message mediation...
-[HttpServerWorker-1] DEBUG SynapseMessageReceiver - Received To:
http://localhost:9000/soap/SimpleStockQuoteService
-[HttpServerWorker-1] DEBUG SynapseMessageReceiver - SOAPAction: urn:getQuote
-[HttpServerWorker-1] DEBUG SynapseMessageReceiver - WSA-Action: urn:getQuote
-[HttpServerWorker-1] DEBUG SynapseMessageReceiver - Body :
-<?xml version='1.0' encoding='utf-8'?><br><soapenv:Envelope
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><br><soapenv:Header><br><wsa:To>http://localhost:9000/soap/SimpleStockQuoteService</wsa:To><br><wsa:MessageID>urn:uuid:32748ED82860C9DBDE1177504004875</wsa:MessageID><br><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><br><soapenv:Body><m0:getQuote
xmlns:m0="http://services.samples/xsd"><m0:request><m0:symbol>IBM</m0:symbol></m0:request><br></m0:getQuote></soapenv:Body></soapenv:Envelope>
-[HttpServerWorker-1] DEBUG SequenceMediator - Sequence mediator <main>
:: mediate()
-[HttpServerWorker-1] DEBUG AbstractListMediator - Implicit Sequence
<SequenceMediator> :: mediate()
-[HttpServerWorker-1] DEBUG LogMediator - Log mediator :: mediate()
-[HttpServerWorker-1] INFO LogMediator - To :
http://localhost:9000/soap/SimpleStockQuoteService, <br>MessageID :
urn:uuid:32748ED82860C9DBDE1177504004875, Action : urn:getQuote, Envelope:
<br><?xml version='1.0' encoding='utf-8'?><br><soapenv:Envelope
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><br><soapenv:Header><br><wsa:To>http://localhost:9000/soap/SimpleStockQuoteService</wsa:To><br><wsa:MessageID>urn:uuid:32748ED82860C9DBDE1177504004875</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action><br></soapenv:Header><soapenv:Body><m0:getQuote
xmlns:m0="http://services.samples/xsd"><m0:request><m0:symbol>IBM</m0:symbol><br></m0:request></m0:getQuote></soapenv:Body></soapenv:Envelope>
-[HttpServerWorker-1] DEBUG SendMediator - Send mediator :: mediate()
-[HttpServerWorker-1] DEBUG SendMediator - Sending message using implicit
message properties..
-[HttpServerWorker-1] DEBUG SendMediator - Sending To:
http://localhost:9000/soap/SimpleStockQuoteService
-[HttpServerWorker-1] DEBUG SendMediator - SOAPAction: urn:getQuote
-[HttpServerWorker-1] DEBUG SendMediator - Body :
-<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:wsa="http://www.w3.org/2005/08/addressing"
<br>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><br><wsa:To>http://localhost:9000/soap/SimpleStockQuoteService</wsa:To><br><wsa:MessageID>urn:uuid:32748ED82860C9DBDE1177504004875</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><br><soapenv:Body><m0:getQuote
xmlns:m0="http://services.samples/xsd"><m0:request><m0:symbol>IBM</m0:symbol></m0:request><br></m0:getQuote></soapenv:Body></soapenv:Envelope>
-[HttpServerWorker-1] DEBUG Axis2FlexibleMEPClient - sending [add = false] [sec
= false] [rm = false] <br>[ to Address:
http://localhost:9000/soap/SimpleStockQuoteService]
-[HttpClientWorker-1] DEBUG SynapseCallbackReceiver - Synapse received an
asynchronous response message
-[HttpClientWorker-1] DEBUG SynapseCallbackReceiver - Received To: null
-[HttpClientWorker-1] DEBUG SynapseCallbackReceiver - SOAPAction: null
-[HttpClientWorker-1] DEBUG SynapseCallbackReceiver - WSA-Action: null
-[HttpClientWorker-1] DEBUG SynapseCallbackReceiver - Body :
-<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><br><soapenv:Body><soapenv:Envelope><soapenv:Body><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd"><br><ns:return><ns:change>3.9759712191629117</ns:change><ns:earnings>-9.463240695957264</ns:earnings><br><ns:high>97.0893936590198</ns:high><ns:last>93.87052890651084</ns:last><br><ns:lastTradeTimestamp>Wed
Apr 25 18:26:46 LKT
2007</ns:lastTradeTimestamp><ns:low>96.4856592398509</ns:low><br><ns:marketCap>5.572519121414568E7</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-92.43795414108462</ns:open><br><ns:peRatio>-18.381880013551893</ns:peRatio><br><ns:percentageChange>-4.5174961332793435</ns:percentageChange><ns:prevClose>-88.01271991962221</ns:prevClose><br><ns:
symbol>IBM</ns:symbol><ns:volume>15381</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body><br></soapenv:Envelope></soapenv:Body></soapenv:Envelope>
-[HttpClientWorker-1] DEBUG SequenceMediator - Sequence mediator <main>
:: mediate()
-[HttpClientWorker-1] DEBUG AbstractListMediator - Implicit Sequence
<SequenceMediator> :: mediate()
-[HttpClientWorker-1] DEBUG LogMediator - Log mediator :: mediate()
-[HttpClientWorker-1] INFO LogMediator - Envelope: <?xml version='1.0'
encoding='utf-8'?><br><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Envelope><soapenv:Body><br><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd"><ns:return><ns:change>3.9759712191629117</ns:change><br><ns:earnings>-9.463240695957264</ns:earnings><ns:high>97.0893936590198</ns:high><ns:last>93.87052890651084</ns:last><br><ns:lastTradeTimestamp>Wed
Apr 25 18:26:46 LKT
2007</ns:lastTradeTimestamp><ns:low>96.4856592398509</ns:low><br><ns:marketCap>5.572519121414568E7</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-92.43795414108462</ns:open><br><ns:peRatio>-18.381880013551893</ns:peRatio><br><ns:percentageChange>-4.5174961332793435</ns:percentageChange><ns:prevClose>
;-88.01271991962221</ns:prevClose><br><ns:symbol>IBM</ns:symbol><ns:volume>15381</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope><br></soapenv:Body></soapenv:Envelope>
-[HttpClientWorker-1] DEBUG SendMediator - Send mediator :: mediate()
-[HttpClientWorker-1] DEBUG SendMediator - Sending message using implicit
message properties..
-[HttpClientWorker-1] DEBUG SendMediator - Sending To: null
-[HttpClientWorker-1] DEBUG SendMediator - SOAPAction: null
-[HttpClientWorker-1] DEBUG SendMediator - Body :
-<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><br><soapenv:Body><soapenv:Envelope><soapenv:Body><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd"><br><ns:return><ns:change>3.9759712191629117</ns:change><ns:earnings>-9.463240695957264</ns:earnings><br><ns:high>97.0893936590198</ns:high><ns:last>93.87052890651084</ns:last><br><ns:lastTradeTimestamp>Wed
Apr 25 18:26:46 LKT
2007</ns:lastTradeTimestamp><ns:low>96.4856592398509</ns:low><br><ns:marketCap>5.572519121414568E7</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-92.43795414108462</ns:open><br><ns:peRatio>-18.381880013551893</ns:peRatio><br><ns:percentageChange>-4.5174961332793435</ns:percentageChange><ns:prevClose>-88.01271991962221</ns:prevClose><br><ns:
symbol>IBM</ns:symbol><ns:volume>15381</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body><br></soapenv:Envelope></soapenv:Body></soapenv:Envelope></pre>
-
-<p></p>
+through Synapse. If you execute Synapse in debug mode by editing the
+lib/log4j.properties "log4j.category.org.apache.synapse" as "DEBUG" instead
+of INFO, you will see more information as follows after a restart and replay
+of the above scenario again.</p>
+<pre>2007-11-05 15:03:51,082 [127.0.1.1-asankha] [I/O dispatcher 3] INFO
PipeImpl Using native OS Pipes for event-driven to stream IO bridging
+2007-11-05 15:03:51,206 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SynapseMessageReceiver Synapse received a new message for message mediation...
+2007-11-05 15:03:51,206 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SynapseMessageReceiver Received To:
http://localhost:9000/soap/SimpleStockQuoteService
+2007-11-05 15:03:51,206 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SynapseMessageReceiver SOAPAction: urn:getQuote
+2007-11-05 15:03:51,206 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SynapseMessageReceiver WSA-Action: urn:getQuote
+2007-11-05 15:03:51,206 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
Axis2SynapseEnvironment Injecting MessageContext
+2007-11-05 15:03:51,207 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
Axis2SynapseEnvironment Using Main Sequence for injected message
+2007-11-05 15:03:51,207 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SequenceMediator Start : Sequence <main>
+2007-11-05 15:03:51,207 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SequenceMediator Sequence <SequenceMediator> :: mediate()
+2007-11-05 15:03:51,207 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
LogMediator Start : Log mediator
+2007-11-05 15:03:51,231 [127.0.1.1-asankha] [HttpServerWorker-1] INFO
LogMediator To: http://localhost:9000/soap/SimpleStockQuoteService, WSAction:
urn:getQuote, SOAPAction: urn:getQuote, ReplyTo:
http://www.w3.org/2005/08/addressing/anonymous, MessageID:
urn:uuid:DB76240DF26CE9AF1D1194253430879, Direction: request, Envelope:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://localhost:9000/soap/SimpleStockQuoteService</wsa:To><wsa:MessageID>urn:uuid:DB76240DF26CE9AF1D1194253430879</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><soapenv:Body><m0:getQuote
xmlns:m0="http://services.samples/xsd"><m0:request><m0:symbol>IBM</m0:symbol></m0:request></m0:getQuote></soapenv:Body></soapenv:Envelope>
+2007-11-05 15:03:51,250 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
LogMediator End : Log mediator
+2007-11-05 15:03:51,250 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SendMediator Start : Send mediator
+2007-11-05 15:03:51,250 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SendMediator Sending request message using implicit message properties..
+Sending To: http://localhost:9000/soap/SimpleStockQuoteService
+SOAPAction: urn:getQuote
+2007-11-05 15:03:51,254 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [ to
Address: http://localhost:9000/soap/SimpleStockQuoteService]
+2007-11-05 15:03:51,302 [127.0.1.1-asankha] [HttpServerWorker-1] INFO
TimeoutHandler This engine will expire all callbacks after : 86400 seconds,
irrespective of the timeout action, after the specified or optional timeout
+2007-11-05 15:03:51,356 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SendMediator End : Send mediator
+2007-11-05 15:03:51,356 [127.0.1.1-asankha] [HttpServerWorker-1] DEBUG
SequenceMediator End : Sequence <main>
+2007-11-05 15:03:51,398 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SynapseCallbackReceiver Synapse received an asynchronous response message
+2007-11-05 15:03:51,400 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SynapseCallbackReceiver Received To: null
+2007-11-05 15:03:51,400 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SynapseCallbackReceiver SOAPAction: null
+2007-11-05 15:03:51,400 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SynapseCallbackReceiver WSA-Action: null
+2007-11-05 15:03:51,402 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SynapseCallbackReceiver Body :
+<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd"><ns:return
type="samples.services.GetQuoteResponse"><ns:change>4.03627430702446</ns:change><ns:earnings>-9.467701672785129</ns:earnings><ns:high>191.83014686803938</ns:high><ns:last>185.42637586281398</ns:last><ns:lastTradeTimestamp>Mon
Nov 05 15:03:51 LKT
2007</ns:lastTradeTimestamp><ns:low>193.2690208751758</ns:low><ns:marketCap>-1737393.107878862</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-183.2632780777984</ns:open><ns:peRatio>-17.430497030284027</ns:peRatio><ns:percentageChange>1.9749680728382655</ns:percentageChange><ns:prevClose>204.37162314344914</ns:prevClose><ns:symbol>IBM</ns:symbol><
ns:volume>6695</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope>
+2007-11-05 15:03:51,404 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
Axis2SynapseEnvironment Injecting MessageContext
+2007-11-05 15:03:51,404 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
Axis2SynapseEnvironment Using Main Sequence for injected message
+2007-11-05 15:03:51,404 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SequenceMediator Start : Sequence <main>
+2007-11-05 15:03:51,404 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SequenceMediator Sequence <SequenceMediator> :: mediate()
+2007-11-05 15:03:51,404 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
LogMediator Start : Log mediator
+2007-11-05 15:03:51,405 [127.0.1.1-asankha] [HttpClientWorker-1] INFO
LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, MessageID:
urn:uuid:A6510AF6BD288D8DFB1194253431259544001-942151716, Direction: response,
Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd"><ns:return
type="samples.services.GetQuoteResponse"><ns:change>4.03627430702446</ns:change><ns:earnings>-9.467701672785129</ns:earnings><ns:high>191.83014686803938</ns:high><ns:last>185.42637586281398</ns:last><ns:lastTradeTimestamp>Mon
Nov 05 15:03:51 LKT
2007</ns:lastTradeTimestamp><ns:low>193.2690208751758</ns:low><ns:marketCap>-1737393.107878862</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-183.2632780777984</ns:ope
n><ns:peRatio>-17.430497030284027</ns:peRatio><ns:percentageChange>1.9749680728382655</ns:percentageChange><ns:prevClose>204.37162314344914</ns:prevClose><ns:symbol>IBM</ns:symbol><ns:volume>6695</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope>
+2007-11-05 15:03:51,405 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
LogMediator End : Log mediator
+2007-11-05 15:03:51,405 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SendMediator Start : Send mediator
+2007-11-05 15:03:51,405 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SendMediator Sending response message using implicit message properties..
+Sending To: http://www.w3.org/2005/08/addressing/anonymous
+SOAPAction: null
+2007-11-05 15:03:51,408 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SendMediator End : Send mediator
+2007-11-05 15:03:51,408 [127.0.1.1-asankha] [HttpClientWorker-1] DEBUG
SequenceMediator End : Sequence <main></pre>
<p>You have successfully completed the first part of this guide. Now let's
look at the next scenario, proxy services.</p>
@@ -385,14 +388,13 @@
and view the WSDL of the virtual proxy service. But in the Synapse
configuration, such requests can be handled in anyway you like. Most obvious
thing would be to do some processing to the message and send it to the actual
-service, probably running on a different computer. But it is not neccessary
-to always send the message to the actual service. You may list any
-combination of tasks to be performed on the messages received for the proxy
-service and terminate the flow or send some messge back to the client even
-without sending it to an actual service. Let's explore a simple proxy
-services scenario step by step to get a better feeling. As you have
-downloaded and installed Synapse in the previous section, now you can start
-directly on the sample.</p>
+service, probably running on a different computer. But it is not necessary to
+always send the message to the actual service. You may list any combination
+of tasks to be performed on the messages received for the proxy service and
+terminate the flow or send some java back to the client even without sending
+it to an actual service. Let's explore a simple proxy services scenario step
+by step to get a better feeling. As you have downloaded and installed Synapse
+in the previous section, now you can start directly on the sample.</p>
<p></p>
@@ -422,7 +424,7 @@
<h4>Starting Synapse</h4>
<p>We have to start Synapse with a configuration containing a proxy service
-definition. In this case we are using the synapse_sample_100.xml, so that you
+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><definitions xmlns="http://ws.apache.org/ns/synapse">
<proxy name="StockQuoteProxy">
@@ -458,16 +460,16 @@
<p></p>
<div class="command">
-<p>Linux / Unix: . synapse.sh -sample 100</p>
+<p>Linux / Unix: . synapse.sh -sample 150</p>
-<p>Windows: synapse.bat -sample 100</p>
+<p>Windows: synapse.bat -sample 150</p>
</div>
<p></p>
<p>Synapse will display a set of messages as in the previous section
describing the steps of starting procedure. Before running the client, it is
-time to observe another feature of proxy services. That is diplaying the
+time to observe another feature of proxy services. That is displaying the
published WSDL. Just open a web browser and point it to the address
http://localhost:8080/soap/StockQuoteProxy?wsdl. You will see the
sample_proxy_1.wsdl specified in the configuration but containing the correct
@@ -495,8 +497,8 @@
<p></p>
<p>This quick guide illustrates the simple use case of proxy services. Please
-refer to samples #100 and above in the Samples guide, for indepth coverage of
-more advanced use cases.</p>
+refer to samples #100 and above in the Samples guide, for in depth coverage
+of more advanced use cases.</p>
<p></p>
Propchange:
webservices/synapse/trunk/java/src/site/resources/Synapse_QuickStart.html
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]