synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asan...@apache.org
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

URL: http://svn.apache.org/viewvc?view=rev&rev=534723
Log:
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/PropertyMediator.java
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/FilterMediator.java
    webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java?view=diff&rev=534723&r1=534722&r2=534723
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java
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/FilterMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/FilterMediator.java?view=diff&rev=534723&r1=534722&r2=534723
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/FilterMediator.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/filters/FilterMediator.java
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
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html?view=diff&rev=534723&r1=534722&r2=534723
==============================================================================
--- 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
2007
@@ -271,6 +271,7 @@
                 <address uri="http://localhost:9000/soap/SimpleStockQuoteService"/>
             </endpoint>
         </send>
+        <drop/>
     </filter>
     <send/>
 &lt;/definitions&gt; </pre>
@@ -453,7 +454,7 @@
                 &lt;/case&gt;
                 &lt;case regex="MSFT"&gt;
                     &lt;send&gt;
-                        &lt;endpoint key=""/&gt;
+                        &lt;endpoint key="bogus"/&gt;
                     &lt;/send&gt;
                 &lt;/case&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></p>
 
 <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;send&gt;
             &lt;endpoint&gt;
-                &lt;address uri="http://localhost:9000/soap/SimpleStockQuoteService"
force="soap"/&gt;
+                &lt;address uri="http://localhost:9000/soap/SimpleStockQuoteService"
format="soap"/&gt;
             &lt;/endpoint&gt;
         &lt;/send&gt;
     &lt;/sequence&gt;



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message