268 lines
11 KiB
XML
Executable File
268 lines
11 KiB
XML
Executable File
<?xml version="1.0" ?>
|
|
<configuration>
|
|
<!-- Diagnostic trace
|
|
<system.diagnostics>
|
|
<sources>
|
|
<source name="System.ServiceModel"
|
|
switchValue="Information, ActivityTracing"
|
|
propagateActivity="true">
|
|
<listeners>
|
|
<add name="sdt"
|
|
type="System.Diagnostics.XmlWriterTraceListener"
|
|
initializeData="c:\server.svclog" />
|
|
</listeners>
|
|
</source>
|
|
</sources>
|
|
</system.diagnostics>
|
|
-->
|
|
|
|
<system.serviceModel>
|
|
<client configSource="Config\Clients_Tcp.xml" />
|
|
|
|
<services>
|
|
<!--
|
|
IAutomationService.
|
|
-->
|
|
<service name="RSG.Pipeline.Automation.ServerHost.Services.AutomationService"
|
|
behaviorConfiguration="AutomationServiceBehaviour">
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="net.tcp://*:7000/automation.svc" />
|
|
<add baseAddress="http://*:8080/automation.svc" />
|
|
<add baseAddress="https://*:8081/automation.svc" />
|
|
</baseAddresses>
|
|
</host>
|
|
|
|
<!-- Net.TCP IAutomationService EndPoint -->
|
|
<endpoint binding="netTcpBinding"
|
|
bindingConfiguration="NetTcpBinding_IAutomationService"
|
|
contract="IAutomationService" />
|
|
|
|
<!-- Net.TCP IAutomationAdminService EndPoint -->
|
|
<endpoint binding="netTcpBinding"
|
|
bindingConfiguration="NetTcpBinding_IAutomationService"
|
|
contract="IAutomationAdminService" />
|
|
|
|
<!-- Net.TCP IAutomationService EndPoint -->
|
|
<endpoint address="net.tcp://localhost:7010/automation.svc"
|
|
binding="netTcpBinding"
|
|
bindingConfiguration="SecureNetTcpBinding_IAutomationService"
|
|
contract="IAutomationService" />
|
|
|
|
<!-- Net.TCP IAutomationAdminService EndPoint -->
|
|
<endpoint address="net.tcp://localhost:7010/automation.svc"
|
|
binding="netTcpBinding"
|
|
bindingConfiguration="SecureNetTcpBinding_IAutomationService"
|
|
contract="IAutomationAdminService" />
|
|
|
|
<!-- HTTP IAutomationAdminService EndPoint -->
|
|
<endpoint address="admin"
|
|
behaviorConfiguration="webHttp"
|
|
binding="webHttpBinding"
|
|
bindingConfiguration="WebHttpBinding_IAutomationAdminService"
|
|
contract="IAutomationAdminService" />
|
|
|
|
<!-- HTTPS IAutomationAdminService EndPoint -->
|
|
<endpoint address="admin"
|
|
behaviorConfiguration="webHttp"
|
|
binding="webHttpBinding"
|
|
bindingConfiguration="WebHttpsBinding_IAutomationAdminService"
|
|
contract="IAutomationAdminService" />
|
|
</service>
|
|
|
|
<service behaviorConfiguration="FileTransferServiceBehavior"
|
|
name="RSG.Pipeline.Automation.ServerHost.Services.FileTransferService">
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="net.tcp://*:7000/FileTransfer.svc" />
|
|
<add baseAddress="http://*:8080/FileTransfer.svc" />
|
|
<add baseAddress="https://*:8081/FileTransfer.svc" />
|
|
</baseAddresses>
|
|
</host>
|
|
|
|
<endpoint binding="netTcpBinding"
|
|
bindingConfiguration="NetTcpBinding_IFileTransferService"
|
|
contract="RSG.Pipeline.Automation.Common.Services.IFileTransferService" />
|
|
<endpoint address="net.tcp://localhost:7010/FileTransfer.svc"
|
|
binding="netTcpBinding"
|
|
bindingConfiguration="SecureNetTcpBinding_IFileTransferService"
|
|
contract="RSG.Pipeline.Automation.Common.Services.IFileTransferService" />
|
|
<endpoint binding="webHttpBinding"
|
|
bindingConfiguration="WebHttpBinding_IFileTransferService"
|
|
contract="RSG.Pipeline.Automation.Common.Services.IFileTransferService" />
|
|
<endpoint binding="webHttpBinding"
|
|
bindingConfiguration="WebHttpsBinding_IFileTransferService"
|
|
contract="RSG.Pipeline.Automation.Common.Services.IFileTransferService" />
|
|
</service>
|
|
</services>
|
|
|
|
<bindings>
|
|
<webHttpBinding>
|
|
<binding name="WebHttpBinding_IAutomationAdminService"
|
|
closeTimeout="00:5:00"
|
|
openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00"
|
|
maxBufferSize="1048576" maxReceivedMessageSize="67108864"
|
|
transferMode="Streamed">
|
|
<security mode="None" />
|
|
</binding>
|
|
<binding name="WebHttpsBinding_IAutomationAdminService"
|
|
closeTimeout="00:5:00"
|
|
openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00"
|
|
maxBufferSize="1048576" maxReceivedMessageSize="67108864"
|
|
transferMode="Streamed">
|
|
<security mode="Transport" />
|
|
</binding>
|
|
<binding name="WebHttpBinding_IFileTransferService"
|
|
transferMode="Streamed"
|
|
maxReceivedMessageSize="2147483648">
|
|
<security mode="None" />
|
|
</binding>
|
|
<binding name="WebHttpsBinding_IFileTransferService"
|
|
transferMode="Streamed"
|
|
maxReceivedMessageSize="2147483648">
|
|
<security mode="Transport" />
|
|
</binding>
|
|
<!-- 4194304 = 4MB -->
|
|
<!-- 209715200 = 20MB -->
|
|
<!-- 52428800 = 50MB -->
|
|
<binding name="defaultWebHttpBinding_IJobDatabase"
|
|
maxBufferPoolSize="52428800"
|
|
maxReceivedMessageSize="52428800"
|
|
maxBufferSize="52428800"
|
|
sendTimeout="03:00:00"
|
|
receiveTimeout="03:00:00">
|
|
|
|
<readerQuotas maxDepth="32"
|
|
maxStringContentLength="2147483647"
|
|
maxArrayLength="16384"
|
|
maxBytesPerRead="4096"
|
|
maxNameTableCharCount="16384" />
|
|
|
|
</binding>
|
|
|
|
<binding name="defaultWebHttpsBinding_IJobDatabase"
|
|
maxBufferPoolSize="52428800"
|
|
maxReceivedMessageSize="52428800"
|
|
maxBufferSize="52428800"
|
|
sendTimeout="03:00:00"
|
|
receiveTimeout="03:00:00">
|
|
|
|
<readerQuotas maxDepth="32"
|
|
maxStringContentLength="2147483647"
|
|
maxArrayLength="16384"
|
|
maxBytesPerRead="4096"
|
|
maxNameTableCharCount="16384" />
|
|
|
|
<security mode="Transport">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
</webHttpBinding>
|
|
<netTcpBinding>
|
|
<binding name="NetTcpBinding_IAutomationService"
|
|
closeTimeout="00:00:30"
|
|
openTimeout="00:00:30"
|
|
receiveTimeout="00:10:00"
|
|
sendTimeout="00:10:00"
|
|
maxBufferSize="67108864"
|
|
maxReceivedMessageSize="67108864">
|
|
<readerQuotas maxDepth="32"
|
|
maxStringContentLength="2147483647"
|
|
maxArrayLength="2147483647"
|
|
maxBytesPerRead="4096"
|
|
maxNameTableCharCount="4096" />
|
|
<security mode="None" />
|
|
<reliableSession enabled="false"
|
|
inactivityTimeout="Infinite" />
|
|
</binding>
|
|
<binding name="NetTcpBinding_IFileTransferService"
|
|
closeTimeout="00:59:00"
|
|
openTimeout="00:59:00"
|
|
receiveTimeout="00:59:00"
|
|
sendTimeout="00:59:00"
|
|
transferMode="Streamed"
|
|
maxReceivedMessageSize="4294967296">
|
|
<security mode="None" />
|
|
</binding>
|
|
<binding name="SecureNetTcpBinding_IAutomationService"
|
|
closeTimeout="00:00:30"
|
|
openTimeout="00:00:30"
|
|
receiveTimeout="00:10:00"
|
|
sendTimeout="00:10:00"
|
|
maxBufferSize="67108864"
|
|
maxReceivedMessageSize="67108864">
|
|
<readerQuotas maxDepth="32"
|
|
maxStringContentLength="2147483647"
|
|
maxArrayLength="2147483647"
|
|
maxBytesPerRead="4096"
|
|
maxNameTableCharCount="4096" />
|
|
<reliableSession enabled="false"
|
|
inactivityTimeout="Infinite" />
|
|
</binding>
|
|
<binding name="defaultNetTcpBinding_IJobDatabase"
|
|
closeTimeout="00:30:00"
|
|
openTimeout="00:30:00"
|
|
receiveTimeout="00:30:00"
|
|
sendTimeout="00:30:00"
|
|
maxBufferPoolSize="52428800"
|
|
maxReceivedMessageSize="52428800"
|
|
maxBufferSize="52428800">
|
|
|
|
<security mode="None">
|
|
<transport clientCredentialType="None" />
|
|
<message clientCredentialType="None" />
|
|
</security>
|
|
|
|
<readerQuotas maxDepth="32"
|
|
maxStringContentLength="2147483647"
|
|
maxArrayLength="16384"
|
|
maxBytesPerRead="4096"
|
|
maxNameTableCharCount="16384" />
|
|
</binding>
|
|
<binding name="SecureNetTcpBinding_IFileTransferService"
|
|
closeTimeout="00:59:00"
|
|
openTimeout="00:59:00"
|
|
receiveTimeout="00:59:00"
|
|
sendTimeout="00:59:00"
|
|
transferMode="Streamed"
|
|
maxReceivedMessageSize="4294967296" />
|
|
</netTcpBinding>
|
|
</bindings>
|
|
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="AutomationServiceBehaviour">
|
|
<!-- To avoid disclosing metadata information,
|
|
set the value below to false and remove the metadata endpoint above before deployment -->
|
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
|
|
<serviceDebug includeExceptionDetailInFaults="True" />
|
|
</behavior>
|
|
<behavior name="FileTransferServiceBehavior">
|
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
|
|
<serviceDebug includeExceptionDetailInFaults="True" />
|
|
</behavior>
|
|
<behavior name="ServiceBehaviour_IJobDatabase">
|
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
|
|
<serviceDebug includeExceptionDetailInFaults="true"/>
|
|
<dataContractSerializer maxItemsInObjectGraph="2147483646"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
|
|
<!-- This was required for standard browsers to work with admin service. -->
|
|
<endpointBehaviors>
|
|
<behavior name="webHttp">
|
|
<webHttp helpEnabled="True"
|
|
defaultOutgoingResponseFormat="Xml"
|
|
automaticFormatSelectionEnabled="True" />
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
</behaviors>
|
|
<!--
|
|
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" /> -->
|
|
</system.serviceModel>
|
|
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
</startup>
|
|
</configuration>
|