synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r534723 - in /webservices/synapse/trunk/java: modules/core/src/main/java/org/apache/synapse/mediators/builtin/ modules/core/src/main/java/org/apache/synapse/mediators/filters/ src/site/resources/
Date Thu, 03 May 2007 06:05:17 GMT
Author: asankha
Date: Wed May  2 23:05:16 2007
New Revision: 534723

minor documentation and message text changes - thanks evanthika for detecting these


Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/
Wed May  2 23:05:16 2007
@@ -64,7 +64,7 @@
      * @return true always
     public boolean mediate(MessageContext smc) {
-        log.debug("Set-Property mediator :: mediate()");
+        log.debug("Property mediator :: mediate()");
         boolean shouldTrace = shouldTrace(smc.getTracingState());
         if (shouldTrace) {
             trace.trace("Start : Property mediator");

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/
Wed May  2 23:05:16 2007
@@ -94,7 +94,7 @@
                 log.debug("Evaluating regular expression : " + regex.pattern() + " against
source : " + source);
                 String sourceString = Axis2MessageContext.getStringValue(source, synCtx);
                 if (sourceString == null) {
-                    log.warn("Source String has been evaluated to Null");
+                    log.debug("Source String has been evaluated to Null");
                     return false;
                 if (shouldTrace(synCtx.getTracingState())) {

Modified: webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html
--- webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html (original)
+++ webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html Wed May  2 23:05:16
@@ -271,6 +271,7 @@
                 <address uri="http://localhost:9000/soap/SimpleStockQuoteService"/>
+        <drop/>
 &lt;/definitions&gt; </pre>
@@ -453,7 +454,7 @@
                 &lt;case regex="MSFT"&gt;
-                        &lt;endpoint key=""/&gt;
+                        &lt;endpoint key="bogus"/&gt;
                 &lt;case regex="SUN"&gt;
@@ -1277,16 +1278,16 @@
 subset of available transports, and how it could switch from one transport to
 another. This example exposes the created proxy service only on https, and
 thus if the user tries to access it over http, would result in a fault.</p>
-<pre>ant stockquote -Dtrpurl=http://asankha:8080/soap/StockQuoteProxy
+<pre>ant stockquote -Dtrpurl=http://localhost:8080/soap/StockQuoteProxy
      [java] org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference
(EPR) /soap/StockQuoteProxy</pre>
 <p>Accessing this over https (ant stockquote
--Dtrpurl=http://asankha:8080/soap/StockQuoteProxy) causes the proxy service
-to access the SimpleStockQuoteService on the sample Axis2 server using
-REST/POX. This could be seen if the message exchange was captured using
+-Dtrpurl=https://localhost:9002/soap/StockQuoteProxy) causes the proxy
+service to access the SimpleStockQuoteService on the sample Axis2 server
+using REST/POX. This could be seen if the message exchange was captured using
 TCPMon as follows. The REST/POX response is now transformed back into a SOAP
 message and returned to the client.</p>
 <pre>POST http://localhost:9000/soap/SimpleStockQuoteService HTTP/1.1
@@ -1521,9 +1522,11 @@
 <p>This example invokes the one-way 'placeOrder' operation on the
 SimpleStockQuoteService using the custom client which uses the Axis2
-ServiceClient.fireAndForget() API. To test this, use 'ant placeorder' and you
-will notice the one way message flowing through Synapse into the sample Axis2
-server instance, which reports the acceptance of the order as follows:</p>
+ServiceClient.fireAndForget() API. To test this, use 'ant
+-Dmode=placeorder...' and you will notice the one way message flowing through
+Synapse into the sample Axis2 server instance, which reports the acceptance
+of the order as follows:</p>
+<pre>ant stockquote -Daddurl=http://localhost:9000/soap/SimpleStockQuoteService -Dmode=placeorder</pre>
 <pre>SimpleStockQuoteService :: Accepted order for : 7482 stocks of IBM at $ 169.27205579038733</pre>
 <p>If you send your client request through TCPmon, you will notice that the
@@ -1567,7 +1570,7 @@
         &lt;header name="Action" value="urn:placeOrder"/&gt;
-                &lt;address uri="http://localhost:9000/soap/SimpleStockQuoteService"
+                &lt;address uri="http://localhost:9000/soap/SimpleStockQuoteService"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message