Versions Compared

Key

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

...

<!-- THIS IS LAIS SPECIFIC-->
<add key="LibraConnectionString" value="Server=192.168.1.77;Initial Catalog=LIBRA;User Id=kodiak;password=kodiak12" />
<add key="DBType" value="MSSQL" />

</appSettings>

 

The system.serviceModel now looks like this

<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicAuthBinding">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" />
</security>
</binding>
<binding name="SoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"  

The spring context node should now look like the following.

<spring>

<context>
<!--Points to the objects parth of the spring config (see below)-->
<resource uri="config://spring/objects" />
<resource uri="~/Configs/KodiakAop.config" />
<resource uri="~/Configs/KodiakDatabase.config" />
<resource uri="~/Configs/KodiakNmsPublisher.config" /> 
<resource uri="~/Configs/KodiakServices.config" />
<resource uri="~/Configs/ServicesToRun.config" />
</context>


 

The system.serviceModel now looks like this

<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicAuthBinding">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" />
</security>
</binding>
<binding name="SoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm=""></transport>
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<wsHttpBinding>
<binding name="WSHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false" maxBufferPoolSize="2147483646" maxReceivedMessageSize="2147483646">
<readerQuotas maxDepth="2147483646" maxStringContentLength="2147483646" maxArrayLength="2147483646" maxBytesPerRead="2147483646" maxNameTableCharCount="2147483646" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
<security>
<transport></transport>
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceAuthorization principalPermissionMode="Custom">
<authorizationPolicies>
<add policyType="Kodi.Kodiak.Security.AuthorizationPolicy, Kodi.Kodiak.Security" />
</authorizationPolicies>
</serviceAuthorization>
<serviceCredentials>
<windowsAuthentication includeWindowsGroups="true" allowAnonymousLogons="false" />
</serviceCredentials>
<serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="200" maxConcurrentInstances="200" />
<dataContractSerializer maxItemsInObjectGraph="2147483646" />
</behavior>
<behavior name="BasicAuthServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Kodi.Kodiak.Security.BasicUsernamePasswordValidator, Kodi.Kodiak.Security" />
</serviceCredentials>
<serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="200" maxConcurrentInstances="200" />
<dataContractSerializer maxItemsInObjectGraph="2147483646" />
</behavior>
<behavior name="ServiceBehaviorBasic">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<dataContractSerializer maxItemsInObjectGraph="2147483646" />
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="rest">
<webHttp />
</behavior>
</endpointBehaviors>
</behaviors>

<client>
<endpoint address="http://genius.livemarketdata.com/genius3p/webservices/metadata.asmx" binding="basicHttpBinding" bindingConfiguration="SoapBinding" contract="MetaDataServices.MetaDataSoap" name="MetaDataSoap" />
<endpoint address="http://genius.livemarketdata.com/genius3p/WebServices/Genius.asmx" binding="basicHttpBinding" bindingConfiguration="SoapBinding" contract="KodiServices.KodiSoap" name="KodiSoap" />
</client>

<services>
<service behaviorConfiguration="ServiceBehavior" name="MarketService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding" contract="Kodi.Kodiak.Services.ServiceContracts.IMarketService"></endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="ServiceBehavior" name="OrderManagementService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding" contract="Kodi.Kodiak.Services.ServiceContracts.IOrderManagementService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="ServiceBehavior" name="FundOrderService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding" contract="Kodi.Kodiak.Services.ServiceContracts.IFundOrderService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="BasicAuthServiceBehavior" name="FundOrderServiceISB">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicAuthBinding" contract="Kodi.Kodiak.Services.ServiceContracts.IFundOrderService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service name="ExternalOrderEntryService" behaviorConfiguration="ServiceBehaviorBasic">
<endpoint address="" binding="webHttpBinding" contract="Kodi.Kodiak.Services.IExternalOrderEntryService" behaviorConfiguration="rest" />
</service>
</services>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The spring context node should now look like the following.

<spring>

<context>
<!--Points to the objects parth of the spring config (see below)-->
<resource uri="config://spring/objects" />
<resource uri="~/Configs/KodiakAop.config" />
<resource uri="~/Configs/KodiakDatabase.config" />
<resource uri="~/Configs/KodiakNmsPublisher.config" /> 
<resource uri="~/Configs/KodiakServices.config" />
<resource uri="~/Configs/ServicesToRun.config" />
</context>" contract="Kodi.Kodiak.Services.ServiceContracts.IFundOrderService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service name="ExternalOrderEntryService" behaviorConfiguration="ServiceBehaviorBasic">
<endpoint address="" binding="webHttpBinding" contract="Kodi.Kodiak.Services.IExternalOrderEntryService" behaviorConfiguration="rest" />
</service>
</services>

 

 

 

 

Kodi.Kodiak.WindowsServices.ServicesServer.exe.config

...