Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

This is the second example that demonstrates the ease of integrating security and reliable messaging to the WSO2 Application Server.

It demonstrates trading interactions between a stock exchange, trader (stock broker) and a client (shareholder). A shareholder who needs to buy and sell shares, should first become a client of that particular trader. A trader can register his client (the shareholder) in the stock exchange. Once registered, the shareholder uses his Central Depository System (CDS) account to buy and sell.

...

Info

If you do not see the services deployed, wait for a while for the deployment engine of Axis2 to pick up the newly added .aar and the refresh/reload the page.

Running the service

 

  1. From the terminal go to <AS_HOME>\samples\Trader directory.

  2. Execute one of the following commands to run the client:

    OSCommand
    MS Windowsrun-client.bat [ -qos (rm | secure | securerm)] [-te <TraderService URL>] [-ee <ExchangeService URL> ]
    Unix/Linuxrun-client.sh [ -qos (rm | secure | securerm)] [-te <TraderService URL>] [-ee <ExchangeService URL> ]

...