Author: drewbai Date: Thu Apr 23 01:28:23 2009 New Revision: 767753 URL: http://svn.apache.org/viewvc?rev=767753&view=rev Log: STONEHENGE-27.patch submitted for Ben Build - Ran each.
Modified: incubator/stonehenge/trunk/stocktrader/dotnet/common/ServiceConfigurationSettings/Settings.cs incubator/stonehenge/trunk/stocktrader/dotnet/common/StockTraderUtility/Utility.cs incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/StockTraderWebApplicationClients/BusinessServiceClient.cs incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Account.aspx.cs incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Controls/AccountOrders.ascx.cs incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/StockTrade.aspx.cs incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.config Modified: incubator/stonehenge/trunk/stocktrader/dotnet/common/ServiceConfigurationSettings/Settings.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/common/ServiceConfigurationSettings/Settings.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/common/ServiceConfigurationSettings/Settings.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/common/ServiceConfigurationSettings/Settings.cs Thu Apr 23 01:28:23 2009 @@ -64,7 +64,8 @@ public static string BSL_DOTNET_ENDPOINT_CONFIG_HTTP; public static string BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP; - public static string BSL_WSO2_ENDPOINT_CONFIG_WSHTTP; + public static string BSL_PHP_ENDPOINT_CONFIG_HTTP; + public static string BSL_WSAS_ENDPOINT_CONFIG_HTTP; public static string BSL_USERID; public static string BSL_PASSWORD; @@ -112,7 +113,8 @@ Settings.ORDER_ALERT_CHECK_FREQUENCY = Convert.ToInt32(ConfigurationManager.AppSettings.Get("ORDER_ALERT_CHECK_FREQUENCY")); Settings.BSL_DOTNET_ENDPOINT_CONFIG_HTTP = ConfigurationManager.AppSettings.Get("BSL_DOTNET_ENDPOINT_CONFIG_HTTP"); Settings.BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP = ConfigurationManager.AppSettings.Get("BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP"); - Settings.BSL_WSO2_ENDPOINT_CONFIG_WSHTTP = ConfigurationManager.AppSettings.Get("BSL_WSO2_ENDPOINT_CONFIG_WSHTTP"); + Settings.BSL_PHP_ENDPOINT_CONFIG_HTTP = ConfigurationManager.AppSettings.Get("BSL_PHP_ENDPOINT_CONFIG_HTTP"); + Settings.BSL_WSAS_ENDPOINT_CONFIG_HTTP = ConfigurationManager.AppSettings.Get("BSL_WSAS_ENDPOINT_CONFIG_HTTP"); Settings.BSL_USERID = ConfigurationManager.AppSettings.Get("BSL_USERID"); Settings.BSL_PASSWORD = ConfigurationManager.AppSettings.Get("BSL_PASSWORD"); @@ -128,27 +130,33 @@ { switch (ACCESS_MODE) { - case StockTraderUtility.ACCESS_STRING_Direct: + case StockTraderUtility.ACCESS_STRING_InProcess: { //no endpoint needs to be set in this mode. interfaceMode = StockTraderUtility.ACCESS_Direct; break; } - case StockTraderUtility.ACCESS_STRING_WEB_SERVICE_HTTP: + case StockTraderUtility.ACCESS_STRING_DotNet_Http_WcfService: { - interfaceMode = StockTraderUtility.ACCESS_WebService_Http; + interfaceMode = StockTraderUtility.ACCESS_DotNet_Http_WcfService; break; } - case StockTraderUtility.ACCESS_STRING_WEB_SERVICE_HTTP_MESECURITY: + case StockTraderUtility.ACCESS_STRING_DotNet_WsHttp_WcfService: { - interfaceMode = StockTraderUtility.ACCESS_WebService_WSHttp; + interfaceMode = StockTraderUtility.ACCESS_DotNet_WsHttp_WcfService; break; } - case StockTraderUtility.ACCESS_STRING_WSO2_WEB_SERVICE_HTTP_MESECURITY: + case StockTraderUtility.ACCESS_STRING_PHP_Http_WebService: { - interfaceMode = StockTraderUtility.ACCESS_WebService_WSHttp_WSO2; + interfaceMode = StockTraderUtility.ACCESS_PHP_Http_WebService; + break; + } + + case StockTraderUtility.ACCESS_STRING_WSAS_Http_WebService: + { + interfaceMode = StockTraderUtility.ACCESS_WSAS_Http_WebService; break; } @@ -161,4 +169,4 @@ return interfaceMode; } } -} \ No newline at end of file +} Modified: incubator/stonehenge/trunk/stocktrader/dotnet/common/StockTraderUtility/Utility.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/common/StockTraderUtility/Utility.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/common/StockTraderUtility/Utility.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/common/StockTraderUtility/Utility.cs Thu Apr 23 01:28:23 2009 @@ -102,16 +102,18 @@ //Valid Config Values for user-set "AccessMode" config setting. Note in all cases, the same //WCF client (that inherits from LoadBalancingClient) is used. Just the binding and service host name varies. - public const string ACCESS_STRING_Direct = "InProcess"; - public const string ACCESS_STRING_WEB_SERVICE_HTTP = "Http_WebService"; - public const string ACCESS_STRING_WEB_SERVICE_HTTP_MESECURITY = "Http_WebService_MSecurity"; - public const string ACCESS_STRING_WSO2_WEB_SERVICE_HTTP_MESECURITY = "Http_WSO2_WebService_MSecurity"; + public const string ACCESS_STRING_InProcess = "InProcess"; + public const string ACCESS_STRING_DotNet_Http_WcfService = "DotNet_Http_WcfService"; + public const string ACCESS_STRING_DotNet_WsHttp_WcfService = "DotNet_WsHttp_WcfService"; + public const string ACCESS_STRING_PHP_Http_WebService = "PHP_Http_WebService"; + public const string ACCESS_STRING_WSAS_Http_WebService = "WSAS_Http_WebService"; //Map string/user-friendly modes to ints for faster lookups public const int ACCESS_Direct = 0; - public const int ACCESS_WebService_Http = 1; - public const int ACCESS_WebService_WSHttp = 2; - public const int ACCESS_WebService_WSHttp_WSO2 = 3; + public const int ACCESS_DotNet_Http_WcfService = 1; + public const int ACCESS_DotNet_WsHttp_WcfService = 2; + public const int ACCESS_PHP_Http_WebService = 3; + public const int ACCESS_WSAS_Http_WebService = 4; //Valid Config Values for user-set "OrderMode" config setting. public const string ORDER_STRING_Sync = "Sync_InProcess"; Modified: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/StockTraderWebApplicationClients/BusinessServiceClient.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/StockTraderWebApplicationClients/BusinessServiceClient.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/StockTraderWebApplicationClients/BusinessServiceClient.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/StockTraderWebApplicationClients/BusinessServiceClient.cs Thu Apr 23 01:28:23 2009 @@ -60,23 +60,30 @@ switch (Settings.interfaceMode) { - case StockTraderUtility.ACCESS_WebService_Http: + case StockTraderUtility.ACCESS_DotNet_Http_WcfService: { endpointConfigName = Settings.BSL_DOTNET_ENDPOINT_CONFIG_HTTP; bslclient = new Client.Client(typeof(ITradeServices), endpointConfigName); break; } - case StockTraderUtility.ACCESS_WebService_WSHttp: + case StockTraderUtility.ACCESS_DotNet_WsHttp_WcfService: { endpointConfigName = Settings.BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP; bslclient = new Client.Client(typeof(ITradeServices), endpointConfigName,Settings.BSL_USERID,Settings.BSL_PASSWORD); break; } - case StockTraderUtility.ACCESS_WebService_WSHttp_WSO2: + case StockTraderUtility.ACCESS_PHP_Http_WebService: { - endpointConfigName = Settings.BSL_WSO2_ENDPOINT_CONFIG_WSHTTP; + endpointConfigName = Settings.BSL_PHP_ENDPOINT_CONFIG_HTTP; + bslclient = new Client.Client(typeof(ITradeServices), endpointConfigName, Settings.BSL_USERID, Settings.BSL_PASSWORD); + break; + } + + case StockTraderUtility.ACCESS_WSAS_Http_WebService: + { + endpointConfigName = Settings.BSL_WSAS_ENDPOINT_CONFIG_HTTP; bslclient = new Client.Client(typeof(ITradeServices), endpointConfigName, Settings.BSL_USERID, Settings.BSL_PASSWORD); break; } Modified: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Account.aspx.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Account.aspx.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Account.aspx.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Account.aspx.cs Thu Apr 23 01:28:23 2009 @@ -39,8 +39,10 @@ protected override void OnPreRender(EventArgs e) { Date.Text = DateTime.Now.ToString("f"); - string action = Input.InputText(Request["action"],20); - if (action =="showtoporders" && Settings.interfaceMode == StockTraderUtility.ACCESS_WebService_WSHttp_WSO2) + string action = Input.InputText(Request["action"], 20); + if (action == "showtoporders" + && (Settings.interfaceMode == StockTraderUtility.ACCESS_PHP_Http_WebService + || Settings.interfaceMode == StockTraderUtility.ACCESS_WSAS_Http_WebService)) { NumOrdersShown.Text = AccountOrdersControl.totalOrders.ToString() ; WASLimit.Text = "<div style=\"font-size:8pt;color:darkred\">WebSphere Trade 6.1 Returns a Maximum of 5 Orders!</div>"; Modified: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Controls/AccountOrders.ascx.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Controls/AccountOrders.ascx.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Controls/AccountOrders.ascx.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Controls/AccountOrders.ascx.cs Thu Apr 23 01:28:23 2009 @@ -41,7 +41,9 @@ { BSLClient businessServicesClient = new BSLClient(); string userid = HttpContext.Current.User.Identity.Name; - if (Input.InputText(Request["action"], 20) == "showtoporders" && (Settings.interfaceMode != StockTraderUtility.ACCESS_WebService_WSHttp_WSO2)) + if (Input.InputText(Request["action"], 20) == "showtoporders" + && (Settings.interfaceMode != StockTraderUtility.ACCESS_WSAS_Http_WebService + || Settings.interfaceMode != StockTraderUtility.ACCESS_PHP_Http_WebService)) { ordersRequested = Settings.MAX_DISPLAY_TOP_ORDERS; orderData = businessServicesClient.getTopOrders(userid); Modified: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/StockTrade.aspx.cs URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/StockTrade.aspx.cs?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/StockTrade.aspx.cs (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/StockTrade.aspx.cs Thu Apr 23 01:28:23 2009 @@ -54,7 +54,8 @@ int holdingid = Convert.ToInt32(holdingID); if (action == StockTraderUtility.ORDER_TYPE_SELL) { - if (Settings.interfaceMode == StockTraderUtility.ACCESS_WebService_WSHttp_WSO2) + if (Settings.interfaceMode == StockTraderUtility.ACCESS_WSAS_Http_WebService + || Settings.interfaceMode == StockTraderUtility.ACCESS_PHP_Http_WebService) { TradeOperation.Text = "You have requested to sell your holding " + holdingID + ". Please confirm this request."; //indicate for postback we are running against WebSphere Trade 6.1 which does not implement the functionality/business logic Modified: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.config URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.config?rev=767753&r1=767752&r2=767753&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.config (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.config Thu Apr 23 01:28:23 2009 @@ -10,13 +10,14 @@ <configuration> <appSettings> - <add key="ACCESS_MODE" value="Http_WebService_MSecurity"/> + <add key="ACCESS_MODE" value="DotNet_Http_WcfService"/> <!-- //Valid Config Values for user-set "AccessMode" config setting. - public const string ACCESS_STRING_Direct = "InProcess"; - public const string ACCESS_STRING_WEB_SERVICE_HTTP = "Http_WebService"; - public const string ACCESS_STRING_WEB_SERVICE_HTTP_MESECURITY = "Http_WebService_MSecurity"; - public const string ACCESS_STRING_WSO2_WEB_SERVICE_HTTP_MESECURITY = "Http_WSO2_WebService_MSecurity"; + public const string ACCESS_STRING_InProcess = "InProcess"; + public const string ACCESS_STRING_DotNet_Http_WcfService = "DotNet_Http_WcfService"; + public const string ACCESS_STRING_DotNet_WsHttp_WcfService = "DotNet_WsHttp_WcfService"; + public const string ACCESS_STRING_PHP_Http_WebService = "PHP_Http_WebService"; + public const string ACCESS_STRING_WSAS_Http_WebService = "WSAS_Http_WebService"; --> <add key="EVENT_LOG" value="Trade Web App"/> <add key="MAX_DISPLAY_ORDERS" value="20"/> @@ -24,9 +25,10 @@ <add key="DISPLAY_DUPLICATE_KEY_EXCEPTIONS" value="true"/> <add key="CHECK_ORDER_ALERT_EVERY_REQUEST" value="true"/> <add key="ORDER_ALERT_CHECK_FREQUENCY" value="30"/> - <add key="BSL_DOTNET_ENDPOINT_CONFIG_HTTP" value="Client_BasicHttpBinding_BSL"/> - <add key="BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP" value="Client_WsHttpBinding_M_Security_TradeBSL"/> - <add key="BSL_WSO2_ENDPOINT_CONFIG_WSHTTP" value="Client_WsHttpBinding_M_Security_TradeBSL_WSO2"/> + <add key="BSL_DOTNET_ENDPOINT_CONFIG_HTTP" value="Client_BSL_DotNet_BasicHttpBinding"/> + <add key="BSL_DOTNET_ENDPOINT_CONFIG_WSHTTP" value="Client_BSL_DotNet_WsHttpBinding"/> + <add key="BSL_PHP_ENDPOINT_CONFIG_HTTP" value="Client_BSL_PHP_BasicHttpBinding"/> + <add key="BSL_WSAS_ENDPOINT_CONFIG_HTTP" value="Client_BSL_WSAS_BasicHttpBinding"/> <add key="BSL_USERID" value="bsloperationuser"/> <add key="BSL_PASSWORD" value="yyy"/> @@ -80,28 +82,43 @@ <diagnostics performanceCounters="All"></diagnostics> <client> - <endpoint address="http://localhost:8000/tradeorderprocessor" binding="basicHttpBinding" bindingConfiguration="Client_BasicHttpBinding" contract="Trade.OrderProcessorContract.IOrderProcessor" name="Client_BasicHttpBinding"/> - <endpoint address="http://localhost:8000/tradeorderprocessor/msec" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_OPS" contract="Trade.OrderProcessorContract.IOrderProcessor" behaviorConfiguration="OPS_ClientCertificateBehavior" name="Client_WsHttpBinding_M_Security_OPS"> + <endpoint address="http://localhost:8000/tradeorderprocessor" binding="basicHttpBinding" + bindingConfiguration="Client_BasicHttpBinding" contract="Trade.OrderProcessorContract.IOrderProcessor" + name="Client_BasicHttpBinding"/> + <endpoint address="http://localhost:8000/tradeorderprocessor/msec" binding="wsHttpBinding" + bindingConfiguration="Client_WsHttpBinding_M_Security_OPS" contract="Trade.OrderProcessorContract.IOrderProcessor" + behaviorConfiguration="OPS_ClientCertificateBehavior" + name="Client_WsHttpBinding_M_Security_OPS"> <identity> <certificate encodedValue="AwAAAAEAAAAUAAAA+g9Yu2BfpDNp4nno+QiIcv3gmUMgAAAAAQAAAPQBAAAwggHwMIIBWaADAgECAhDUQtaRqC0hpkD6saVDQMH8MA0GCSqGSIb3DQEBBAUAMBIxEDAOBgNVBAMTB09QUy5Db20wHhcNMDgwNTIxMDQ0NTAxWhcNMzkxMjMxMjM1OTU5WjASMRAwDgYDVQQDEwdPUFMuQ29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHCT2agc1venAAV2iWxWs1ELKlr0wAf005uUYlFbpq/3ewLmi5t+NvN8iBRHJxWA5igj/obcBmKMQ0L/+1HwKI27B9zffyPiAYkJhAwoXzR/S/7Cw4KFtYD+NIyZbRd5naa2fbyRTNnAE35q4r6JS6tiZR9mU0IjMuszj0oqotEwIDAQABo0cwRTBDBgNVHQEEPDA6gBAYaG6w3pziP/tZKe+J5ExsoRQwEjEQMA4GA1UEAxMHT1BTLkNvbYIQ1ELWkagtIaZA+rGlQ0DB/DANBgkqhkiG9w0BAQQFAAOBgQBnzFXGKgK8by3yILHlfLsmBTIZWdODFWE/f64wZJxrS7XCqd+g962FeTKQ+QI/lkRhJLlKgEt0IqGfUeogJ1MGRHabR5ujnQKhdPWUDL7kwQt3OVHxIf0pXqeiTAI8BbdFRGTWG5oOLcU7WgUNWbrXjqsAHJmsb8+MN7fD4xRoeA=="/> </identity> </endpoint> - <endpoint address="http://insert_WSO2_address_here" binding="customBinding" bindingConfiguration="Client_customBinding_M_Security_OPS_WS02" contract="Trade.OrderProcessorContract.IOrderProcessor" behaviorConfiguration="OPS_ClientCertificateBehavior" name="Client_customBinding_M_Security_OPS_WS02"> + <endpoint address="http://insert_WSO2_address_here" binding="customBinding" + bindingConfiguration="Client_customBinding_M_Security_OPS_WS02" contract="Trade.OrderProcessorContract.IOrderProcessor" behaviorConfiguration="OPS_ClientCertificateBehavior" + name="Client_customBinding_M_Security_OPS_WS02"> <identity> <certificate encodedValue="MIIDCjCCAfKgAwIBAgIQYDju2/6sm77InYfTq65x+DANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1OVowQDEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQwwCgYDVQQDDANCb2IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMCquMva4lFDrv3fXQnKK8CkSU7HvVZ0USyJtlL/yhmHH/FQXHyYY+fTcSyWYItWJYiTZ99PAbD+6EKBGbdfuJNUJCGaTWc5ZDUISqM/SGtacYe/PD/4+g3swNPzTUQAIBLRY1pkr2cm3s5Ch/f+mYVNBR41HnBeIxybw25kkoM7AgMBAAGjgZMwgZAwCQYDVR0TBAIwADAzBgNVHR8ELDAqMCiiJoYkaHR0cDovL2ludGVyb3AuYmJ0ZXN0Lm5ldC9jcmwvY2EuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHQ4EFgQUXeg55vRyK3ZhAEhEf+YT0z986L0wHwYDVR0jBBgwFoAUwJ0o/MHrNaEd1qqqoBwaTcJJDw8wDQYJKoZIhvcNAQEFBQADggEBAIiVGv2lGLhRvmMAHSlY7rKLVkv+zEUtSyg08FBT8z/RepUbtUQShcIqwWsemDU8JVtsucQLc+g6GCQXgkCkMiC8qhcLAt3BXzFmLxuCEAQeeFe8IATr4wACmEQE37TEqAuWEIanPYIplbxYgwP0OBWBSjcRpKRAxjEzuwObYjbll6vKdFHYIweWhhWPrefquFp7TefTkF4D3rcctTfWJ76I5NrEVld+7PBnnJNpdDEuGsoaiJrwTW3Ixm40 RXvG3fYS4hIAPeTCUk3RkYfUkqlaaLQnUrF2hZSgiBNLPe8gGkYORccRIlZCGQDEpcWl1Uf9OHw6fC+3hkqolFd5CVI=" /> </identity> </endpoint> - <endpoint address="http://localhost:9000/tradebusinessservice" binding="basicHttpBinding" bindingConfiguration="Client_BasicHttpBinding" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_BasicHttpBinding_BSL"/> - <endpoint address="http://localhost:9000/tradebusinessservice/msec" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_TradeBSL" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_WsHttpBinding_M_Security_TradeBSL" behaviorConfiguration="BSL_ClientCertificateBehavior"> - <identity> - <dns value="trade.com"/> - </identity> - </endpoint> - <endpoint address="http://insert_WSO2_address_here" binding="wsHttpBinding" bindingConfiguration="Client_WsHttpBinding_M_Security_TradeBSL" contract="Trade.BusinessServiceContract.ITradeServices" name="Client_WsHttpBinding_M_Security_TradeBSL_WSO2" behaviorConfiguration="BSL_ClientCertificateBehavior"> + + <!-- Business Services - Client Endpoints --> + <endpoint address="http://localhost:9000/tradebusinessservice" binding="basicHttpBinding" + bindingConfiguration="Client_BasicHttpBinding" contract="Trade.BusinessServiceContract.ITradeServices" + name="Client_BSL_DotNet_BasicHttpBinding"/> + <endpoint address="http://localhost:9000/tradebusinessservice/msec" binding="wsHttpBinding" + bindingConfiguration="Client_WsHttpBinding_M_Security_TradeBSL" contract="Trade.BusinessServiceContract.ITradeServices" + behaviorConfiguration="BSL_ClientCertificateBehavior" + name="Client_BSL_DotNet_WsHttpBinding"> <identity> <dns value="trade.com"/> </identity> </endpoint> + <endpoint address="http://localhost:8080/php_stocktrader/business_service/business_svc.php" binding="basicHttpBinding" + bindingConfiguration="Client_BasicHttpBinding" contract="Trade.BusinessServiceContract.ITradeServices" + name="Client_BSL_PHP_BasicHttpBinding"/> + <endpoint address="http://localhost:9763/services/TradeServiceWsas" binding="basicHttpBinding" + bindingConfiguration="Client_BasicHttpBinding" contract="Trade.BusinessServiceContract.ITradeServices" + name="Client_BSL_WSAS_BasicHttpBinding"/> </client> <!--********************************************************BEGIN CONFIG SERVICE TEMPLATE BINDINGS*****************************************************--> <bindings> @@ -220,9 +237,6 @@ <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="Microsoft.Transactions.Bridge, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="SMDiagnostics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> @@ -233,27 +247,9 @@ <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <!--<add assembly="Oracle.DataAccess, Version=2.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>--> - <add assembly="Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> - <add assembly="System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> - <add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> - <add assembly="System.Workflow.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> - <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> - <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Data.Services.Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Data.Services.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> - <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> <authentication mode="Forms">