This page last changed on Jun 22, 2010 by nickh.
Configuring the .NET Client to use the WSAS Business Service
- In a browser, navigate to the URL: http://localhost/trade/Configuration.aspx
- In the Business Service list, select WSAS_BS, and then click Set.
Configuring the .NET Client to use the WSAS Order Processor Service
- In a browser, navigate to the URL: http://localhost/trade/Configuration.aspx
- In the Order Processing Service list, select WSAS_OPS, and then click Set.
Configuring the .NET Client to use WSO2 Identity Server as the Passive STS
- In a text/xml editor, open C:\StockTraderDemo\trader_client\Trade\web.config.
- Locate the <federatedAuthentication> node.
- Replace the child <wsFederation> node with the following:
<wsFederation passiveRedirectEnabled="true" issuer="https: realm="http://localhost/Trade/" requireHttps="false"/>
- Locate the <issuerNameRegistry> node.
- Under the child <trustedIssuers> node, add the following child node:
<add thumbprint="79af6b15468e02ef01e0d7e320a071e23d6e3ac2" name="CN=localhost" />
 | Note This is the thumbprint for the Identity Server certificate. |
- Save, and close web.config.
- Navigate to C:\stonehenge\stocktrader\wsas\identity\resources
- Double-click localhost.crt.
- In the Certificate window, on the General tab, click the Install Certificate... button.
- In the Certificate Import Wizard click Next.
- On the Certificate Store page, click Place all certificates in the following store and then click Browse...
- In the Select Certificate Store window, check the Show physical stores box.
- In the list, expand Trusted Root Certification Authorities and then click Local Computer.
- In the Select Certificate Store window, click OK.
- On the Certificate Store page click Next, and then click Finish on the following page.
- Repeat the import process, but import to the Trusted People > Local Computer store.
- Start WSO2 Identity Server.
Verifying the Configuration
- In a browser, navtigate to the URL: http://localhost/trade/Portfolio.aspx
 | Warning An error here likely indicates that either the Business Service, or the Active STS are not configured or functioning properly |
- If prompted, log-in with the following credentials:
Item |
Value |
User Id |
uid:0 |
Password |
xxx |
 | Warning If you are not prompted, you are already logged in. An error during log-in likely indicates that the Passive STS is not configured or functioning properly |
- In the table, under the Trade column, click the Sell button next to one of the stocks listed.
- On the Trade Confirmation page, click the Sell button to confirm the trade.
- In the toolbar, click the Account button.
 | Note A Trade Alert message should appear at the top of the page indicating that the order has been processed successfully. |
 | Warning If a Trade Alert message does not appear, the Order Processor Service is likely not configured or functioning properly. |
- Verify that the Order Status for the trade you just made is completed.
 | Warning If the Order Status remains open for a long period of time, the Order Processor Service is likely not configured or functioning properly. |
|