WSO2 StockTrader, Configuration Service User Interface Installation Guide
WSO2 StockTrader is an online stock trading sample application with functionality equivalent to the Microsoft .NET Stock Trader sample benchmark application and IBM WebSphere's Trade 6.1 sample application. WSO2 StockTrader is powered by WSO2 WSF/PHP , WSO2 WSF/Ruby, WSO2 WSF/Perl, WSO2 WSF/Python, WSO2 WSF/Spring and WSO2 WSAS and implements the application in PHP, Ruby, Perl, Python, Spring and Java. It serves to illustrate interoperability between .NET, PHP, Ruby, Perl, Python, Spring and Java in deploying high-performance, scalable service oriented applications.
Prerequisite
-
JDK 1.5
You can download JDK 1.5 from here. Set JAVA_HOME environment variable to the path where JDK is installed. -
JCE
Download and install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. -
WSO2 Mashup Server
You can download WSO2 Mashup Server from here. The version should be 1.5 or more. -
.NET Stock Trader 2.0
You can download it from here. -
Enable TCP/IP Protocols of MSSQL server
Open “SQL Server Configuration Manager” from Start->Programs->Microsoft SQL Server 2005->Configuration Tools-> SQL Server Configuration Manager. Enable TCP/IP and disable Named Pipes from protocols of your MSSQL server. (Note that, in following picture, MSSQLSERVER is the name of the SQL server. In your case, the name might be different)
Open TCP/IP Properties by double clicking “TCP/IP”. Set “Listen All” to “Yes” in Protocol tab.

From IP Address tab, disable “TCP Dynamic Ports” by leaving it blank and give a valid “TCP Port” so that MSSQL server will listen in that port. (We have used port 1433 in order processor services, so it is better to use that port)

Similarly, enable TCP/IP from SQL Native Client Configuration and disable Named Pipes. Also, check whether the port is set correctly. (Port should be 1433)


After finishing above
settings, restart MSSQL Server.
Installing Configuration Service User Interface
Download Configuration Service User Interface from here and unzip it. Copy the files inside "UI" folder to <Mashup Server Install Directory>\Scripts\{User} folder ({user} has to be modified to some valid username in mashup server). Edit stub.js file under the "StockTraderConfig.resources" folder and give the configuration service end point. Then start Mashup server.Endpoint Addresses
These are the default endpoint addresses- Configuration Service User Interface
http://localhost:7762/services/{user}/StockTraderConfig