Sample X:

Objective

Pre-requisites

  • Deploy the SimpleStockQuoteService in the sample Axis2 server and start Axis2
  • Start Synapse using the configuration numbered X (repository/conf/sample/synapse_sample_X.xml)
    Unix/Linux: sh synapse.sh -sample X
    Windows: synapse.bat -sample X

Executing the Client

ant stockquote -Daddurl=http://localhost:9000/services/SimpleStockQuoteService -Dtrpurl=http://localhost:8280/
Sat Nov 18 21:01:23 IST 2006 SimpleStockQuoteService :: Generating quote for : IBM
Standard :: Stock price = $95.26454380258552

Back to Catalog