Changeset 4316 for branches/3.3-HiveMigration/sources
- Timestamp:
- 08/25/10 15:58:36 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive
- Files:
-
- 3 added
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Calendar/3.3/Properties/AssemblyInfo.cs
r4305 r4316 58 58 // [assembly: AssemblyVersion("1.0.*")] 59 59 [assembly: AssemblyVersion("3.3.0.0")] 60 [assembly: AssemblyFileVersion("3.3.0.430 2")]60 [assembly: AssemblyFileVersion("3.3.0.4305")] -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/WcfSettings.cs
r4305 r4316 92 92 /// This method changes the endpoint-address while preserving the identity-certificate defined in the config file 93 93 /// </summary> 94 public static void SetEndpointAddress(ServiceEndpoint endpoint, string address) {94 public static void SetEndpointAddress(ServiceEndpoint endpoint, string hostAddress) { 95 95 EndpointAddressBuilder builder = new EndpointAddressBuilder(endpoint.Address); 96 builder.Uri = new Uri(address); 96 UriBuilder uriBuilder = new UriBuilder(builder.Uri); 97 uriBuilder.Host = hostAddress; 98 builder.Uri = uriBuilder.Uri; 97 99 endpoint.Address = builder.ToEndpointAddress(); 98 100 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/HiveExperiment.cs
r4305 r4316 299 299 OnStopped(); 300 300 } 301 finally { 302 ServiceLocator.DisposeClientFacade(clientFacade); 303 } 301 304 302 305 sendingJobsFinished = true; … … 463 466 fetchJobSemaphore.WaitOne(); 464 467 ResponseObject<SerializedJob> jobResponse = clientFacade.GetLastSerializedResult(jobId, false, false); 468 ServiceLocator.DisposeClientFacade(clientFacade); 465 469 IJob restoredObject = XmlParser.Deserialize<IJob>(new MemoryStream(jobResponse.Obj.SerializedJobData)); 466 470 IOptimizer restoredOptimizer = ((OptimizerJob)restoredObject).Optimizer; … … 562 566 LogMessage("Polling results failed: " + e.Message); 563 567 } 568 finally { 569 ServiceLocator.DisposeClientFacade(clientFacade); 570 } 564 571 Thread.Sleep(resultPollingIntervalMs); 565 572 } else { … … 592 599 Thread t = new Thread(() => { 593 600 IClientFacade clientFacade = CreateStreamedClientFacade(); 594 ResponseObject<SerializedJob> response; 595 int retryCount = 0; 596 597 Response snapShotResponse = clientFacade.RequestSnapshot(jobId); 598 if (snapShotResponse.StatusMessage == ResponseStatus.RequestSnapshot_JobIsNotBeeingCalculated) { 599 // job already finished 600 Logger.Debug("HiveExperiment: Abort - GetLastResult(false)"); 601 response = clientFacade.GetLastSerializedResult(jobId, false, false); 602 Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage); 603 } else { 604 // server sent snapshot request to client 605 // poll until snapshot is ready 606 do { 607 Thread.Sleep(snapshotPollingIntervalMs); 608 Logger.Debug("HiveExperiment: Abort - GetLastResult(true)"); 609 response = clientFacade.GetLastSerializedResult(jobId, false, true); 601 try { 602 ResponseObject<SerializedJob> response; 603 int retryCount = 0; 604 605 Response snapShotResponse = clientFacade.RequestSnapshot(jobId); 606 if (snapShotResponse.StatusMessage == ResponseStatus.RequestSnapshot_JobIsNotBeeingCalculated) { 607 // job already finished 608 Logger.Debug("HiveExperiment: Abort - GetLastResult(false)"); 609 response = clientFacade.GetLastSerializedResult(jobId, false, false); 610 610 Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage); 611 retryCount++; 612 // loop while 613 // 1. problem with communication with server 614 // 2. job result not yet ready 615 } while ( 616 (retryCount < maxSnapshotRetries) && ( 617 response.StatusMessage == ResponseStatus.GetLastSerializedResult_JobResultNotYetThere) 618 ); 619 } 620 if (response.StatusMessage == ResponseStatus.Ok) { 621 LogMessage(jobId, "Snapshot polling successfull for job " + jobId); 622 UpdateSnapshot(response); 623 } else { 624 LogMessage(jobId, "Error: Polling of Snapshot failed for job " + jobId + ": " + response.StatusMessage); 611 } else { 612 // server sent snapshot request to client 613 // poll until snapshot is ready 614 do { 615 Thread.Sleep(snapshotPollingIntervalMs); 616 Logger.Debug("HiveExperiment: Abort - GetLastResult(true)"); 617 response = clientFacade.GetLastSerializedResult(jobId, false, true); 618 Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage); 619 retryCount++; 620 // loop while 621 // 1. problem with communication with server 622 // 2. job result not yet ready 623 } while ( 624 (retryCount < maxSnapshotRetries) && ( 625 response.StatusMessage == ResponseStatus.GetLastSerializedResult_JobResultNotYetThere) 626 ); 627 } 628 if (response.StatusMessage == ResponseStatus.Ok) { 629 LogMessage(jobId, "Snapshot polling successfull for job " + jobId); 630 UpdateSnapshot(response); 631 } else { 632 LogMessage(jobId, "Error: Polling of Snapshot failed for job " + jobId + ": " + response.StatusMessage); 633 } 634 } 635 finally { 636 ServiceLocator.DisposeClientFacade(clientFacade); 625 637 } 626 638 }); … … 870 882 do { 871 883 try { 872 clientFacade = ServiceLocator.CreateClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientServiceName)); 884 //clientFacade = ServiceLocator.CreateClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientServiceName)); 885 clientFacade = ServiceLocator.CreateClientFacade(Settings.Default.HiveServerIp); 873 886 874 887 } catch (EndpointNotFoundException exception) { … … 884 897 do { 885 898 try { 886 clientFacade = ServiceLocator.CreateStreamedClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientStreamedServiceName));887 899 //clientFacade = ServiceLocator.CreateStreamedClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientStreamedServiceName)); 900 clientFacade = ServiceLocator.CreateStreamedClientFacade(Settings.Default.HiveServerIp); 888 901 } catch (EndpointNotFoundException exception) { 889 902 LogMessage("Could not connect to Server: " + exception.Message + ". Will try again in " + (resultPollingIntervalMs / 1000) + " sec."); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/ServiceLocator.cs
r4305 r4316 31 31 namespace HeuristicLab.Hive.Experiment { 32 32 internal class ServiceLocator { 33 internal static IClientFacade CreateClientFacade(string url) {33 internal static IClientFacade CreateClientFacade(string hostAddress) { 34 34 ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("ClientHttpEndpoint"); 35 WcfSettings.SetEndpointAddress(factory.Endpoint, url);35 WcfSettings.SetEndpointAddress(factory.Endpoint, hostAddress); 36 36 37 37 factory.Credentials.UserName.UserName = Settings.Default.HiveUsername; … … 42 42 } 43 43 44 internal static IClientFacade CreateStreamedClientFacade(string url) {45 ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("Client StreamedHttpEndpoint");46 WcfSettings.SetEndpointAddress(factory.Endpoint, url);44 internal static IClientFacade CreateStreamedClientFacade(string hostAddress) { 45 ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("ClientTcpStreamedEndpoint"); 46 WcfSettings.SetEndpointAddress(factory.Endpoint, hostAddress); 47 47 48 48 factory.Credentials.UserName.UserName = Settings.Default.HiveUsername; … … 52 52 return client; 53 53 } 54 55 public static void DisposeClientFacade(IClientFacade clientFacade) { 56 ICommunicationObject obj = (ICommunicationObject)clientFacade; 57 if (obj != null) { 58 if (obj.State != CommunicationState.Faulted && 59 obj.State != CommunicationState.Closed) { 60 try { obj.Close(); } 61 catch (CommunicationObjectFaultedException) { obj.Abort(); } 62 catch (TimeoutException) { obj.Abort(); } 63 catch (Exception) { 64 obj.Abort(); 65 throw; 66 } 67 } else 68 obj.Abort(); 69 } 70 } 54 71 } 55 72 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/Tools
-
Property
svn:ignore
set to
ClientFacade.cs
app.config
-
Property
svn:ignore
set to
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/app.config
r4305 r4316 28 28 29 29 <bindings> 30 < basicHttpBinding>31 <binding name="Client StreamedHttpEndpoint" closeTimeout="00:01:00"32 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00: 01:00"33 allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"34 maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"35 m essageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"36 useDefaultWebProxy="true">37 <readerQuotas maxDepth="32" maxStringContentLength=" 8192" maxArrayLength="16384"30 <netTcpBinding> 31 <binding name="ClientTcpStreamedEndpoint" closeTimeout="00:01:00" 32 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" 33 transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions" 34 hostNameComparisonMode="StrongWildcard" listenBacklog="10" 35 maxBufferPoolSize="104857600" maxBufferSize="104857600" maxConnections="10" 36 maxReceivedMessageSize="104857600"> 37 <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="104857600" 38 38 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 39 <security mode="None"> 40 <transport clientCredentialType="None" proxyCredentialType="None" 41 realm="" /> 39 <reliableSession ordered="true" inactivityTimeout="00:10:00" 40 enabled="false" /> 41 <security mode="TransportWithMessageCredential"> 42 <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /> 42 43 <message clientCredentialType="UserName" algorithmSuite="Default" /> 43 44 </security> 44 45 </binding> 45 </basicHttpBinding> 46 <binding name="ClientTcpMexEndpoint" closeTimeout="00:01:00" 47 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 48 transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" 49 hostNameComparisonMode="StrongWildcard" listenBacklog="10" 50 maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" 51 maxReceivedMessageSize="65536"> 52 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 53 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 54 <reliableSession ordered="true" inactivityTimeout="00:10:00" 55 enabled="false" /> 56 <security mode="None"> 57 <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /> 58 <message clientCredentialType="Windows" /> 59 </security> 60 </binding> 61 </netTcpBinding> 46 62 <wsHttpBinding> 47 63 <binding name="ClientHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00" … … 62 78 </security> 63 79 </binding> 64 <binding name="Client MexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"65 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"66 transactionFlow="false" hostNameComparisonMode="StrongWildcard"80 <binding name="ClientHttpMexEndpoint" closeTimeout="00:01:00" 81 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 82 bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" 67 83 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" 68 84 messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" … … 81 97 </bindings> 82 98 <client> 99 <endpoint address="net.tcp://localhost:9001/ClientServiceStreamed" behaviorConfiguration="ClientServiceBehaviour" 100 binding="netTcpBinding" bindingConfiguration="ClientTcpStreamedEndpoint" 101 contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientTcpStreamedEndpoint"> 102 <identity> 103 <dns value="localhost" /> 104 </identity> 105 </endpoint> 106 <endpoint address="net.tcp://localhost:9001/ClientServiceStreamed/mex" 107 binding="netTcpBinding" bindingConfiguration="ClientTcpMexEndpoint" 108 contract="IClientFacade" name="ClientTcpMexEndpoint" /> 83 109 <endpoint address="http://localhost:9000/ClientService" behaviorConfiguration="ClientServiceBehaviour" binding="wsHttpBinding" 84 110 bindingConfiguration="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" … … 88 114 </identity> 89 115 </endpoint> 90 <endpoint address="http://localhost:9000/ClientService/mex" binding="wsHttpBinding" 91 bindingConfiguration="ClientMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" 92 name="ClientMexEndpoint" /> 93 <endpoint address="http://localhost:9000/ClientServiceStreamed" 94 binding="basicHttpBinding" bindingConfiguration="ClientStreamedHttpEndpoint" 95 contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientStreamedHttpEndpoint" /> 116 <endpoint address="http://localhost:9000/ClientService/mex" 117 binding="wsHttpBinding" bindingConfiguration="ClientHttpMexEndpoint" 118 contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientHttpMexEndpoint" /> 96 119 </client> 97 120 98 121 <behaviors> 99 122 <endpointBehaviors> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/ServiceLocator.cs
r4302 r4316 30 30 if (serverConsoleFacade == null && Address != String.Empty && Port != String.Empty) { 31 31 ChannelFactory<IServerConsoleFacade> factory = new ChannelFactory<IServerConsoleFacade>("ServerConsoleHttpEndpoint"); 32 WcfSettings.SetEndpointAddress(factory.Endpoint, string.Format("http://{0}:{1}/{2}", Address, Port, WcfSettings.ServerConsoleServiceName));32 WcfSettings.SetEndpointAddress(factory.Endpoint, Address); 33 33 34 34 factory.Credentials.UserName.UserName = Username; -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/Tools
- Property svn:ignore
-
old new 1 1 ServerConsoleFacade.cs 2 app.config
-
- Property svn:ignore
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/Tools/RecreateServiceConfig.bat
r4305 r4316 4 4 SvcUtil.exe ^ 5 5 /noLogo ^ 6 http://localhost 1:9000/ServerConsoleService/?wsdl ^6 http://localhost:9000/ServerConsoleService?wsdl ^ 7 7 /config:app.config -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/app.config
r4302 r4316 51 51 </bindings> 52 52 <client> 53 <endpoint address="http://loca host:9000/ServerConsoleService"54 binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint" behaviorConfiguration="ServerConsoleBehaviour"53 <endpoint address="http://localhost:9000/ServerConsoleService" behaviorConfiguration="ServerConsoleBehaviour" 54 binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint" 55 55 contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleHttpEndpoint"> 56 56 <identity> 57 57 <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" /> 58 <dns value="localhost" />59 58 </identity> 60 59 </endpoint> 61 <endpoint address="http://loca host:9000/ServerConsoleService/mex"60 <endpoint address="http://localhost:9000/ServerConsoleService/mex" behaviorConfiguration="ServerConsoleBehaviour" 62 61 binding="wsHttpBinding" bindingConfiguration="ServerConsoleMexEndpoint" 63 62 contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleMexEndpoint" /> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/app.config
r4305 r4316 28 28 29 29 <bindings> 30 <basicHttpBinding> 31 <binding name="StreamedHttpBinding" sendTimeout="00:10:00" maxBufferSize="104857600" 32 maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600" 33 transferMode="Streamed"> 30 <netTcpBinding> 31 <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed" 32 maxBufferPoolSize="104857600" maxBufferSize="104857600" maxReceivedMessageSize="104857600"> 34 33 <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" /> 35 <security >36 <transport >34 <security mode="TransportWithMessageCredential"> 35 <transport clientCredentialType="Certificate"> 37 36 <extendedProtectionPolicy policyEnforcement="Never" /> 38 37 </transport> 38 <message clientCredentialType="UserName" /> 39 39 </security> 40 40 </binding> 41 </ basicHttpBinding>41 </netTcpBinding> 42 42 <wsHttpBinding> 43 43 <binding name="HttpBinding"> 44 <security >44 <security mode="Message"> 45 45 <transport> 46 46 <extendedProtectionPolicy policyEnforcement="Never" /> … … 54 54 <serviceBehaviors> 55 55 <behavior name="ServiceBehaviour"> 56 <serviceMetadata httpGetEnabled="true" />56 <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" /> 57 57 <serviceDebug includeExceptionDetailInFaults="true" /> 58 58 <serviceAuthorization principalPermissionMode="UseAspNetRoles" … … 70 70 <services> 71 71 <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade"> 72 <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" 73 bindingConfiguration="HttpBinding" name="SlaveHttpEndpoint" 74 contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" /> 72 <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HttpBinding" 73 name="SlaveHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" /> 75 74 <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint" 76 75 contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" /> 76 <endpoint binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" 77 name="SlaveTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" /> 78 <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" 79 name="SlaveTcpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" /> 77 80 <host> 78 81 <baseAddresses> 79 82 <add baseAddress="http://localhost:9000/SlaveService" /> 83 <add baseAddress="net.tcp://localhost:9001/SlaveServiceStreamed" /> 80 84 </baseAddresses> 81 85 </host> 82 86 </service> 83 87 <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade"> 84 <endpoint address="http://localhost:9000/ServerConsoleService" 85 binding="wsHttpBinding" bindingConfiguration="HttpBinding" name="ServerConsoleHttpEndpoint" 86 contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" /> 88 <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HttpBinding" 89 name="ServerConsoleHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" /> 87 90 <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint" 88 91 contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" /> … … 94 97 </service> 95 98 <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade"> 96 <endpoint address=" http://localhost:9000/ClientService" binding="wsHttpBinding"97 bindingConfiguration="HttpBinding" name="ClientHttpEndpoint"98 contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />99 <endpoint address="mex" binding="mexHttpBinding" name="ClientMexEndpoint"100 contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />101 <endpoint address="http://localhost:9000/ClientServiceStreamed"102 binding="basicHttpBinding" bindingConfiguration="StreamedHttpBinding"103 name="Client StreamedHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />99 <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" 100 name="ClientTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" /> 101 <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" 102 name="ClientTcpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" /> 103 <endpoint binding="wsHttpBinding" bindingConfiguration="HttpBinding" 104 name="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" /> 105 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" 106 name="ClientHttpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" /> 104 107 <host> 105 108 <baseAddresses> 109 <add baseAddress="net.tcp://localhost:9001/ClientServiceStreamed" /> 106 110 <add baseAddress="http://localhost:9000/ClientService" /> 107 111 </baseAddresses> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/HeuristicLabHiveServerApplication.cs
r4305 r4316 68 68 } 69 69 catch (AddressAccessDeniedException ex) { 70 throw new Exception("Unable to start WCF-Services due to missing rights. Run the following command as administrator: \"netsh http add urlacl url=http://+ " + WcfSettings.DefaultPort + "/ user=MYMACHINE\\UserName\". See inner exception for more details.", ex);70 throw new Exception("Unable to start WCF-Services due to missing rights. Run the following command as administrator: \"netsh http add urlacl url=http://+:" + WcfSettings.DefaultPort + "/ user=MYMACHINE\\UserName\". See inner exception for more details.", ex); 71 71 } 72 72 } 73 73 74 private I Dictionary<string,Uri> GetBaseAddresses() {75 IDictionary<string, Uri> dict = new Dictionary<string,Uri>();74 private IEnumerable<Uri> GetBaseAddresses() { 75 List<Uri> list = new List<Uri>(); 76 76 foreach (KeyValuePair<string, ServiceHost> host in serviceHosts) { 77 77 foreach (var addr in host.Value.BaseAddresses) { 78 dict.Add(host.Key,addr);78 list.Add(addr); 79 79 } 80 80 } 81 return dict;81 return list; 82 82 } 83 83 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/MainForm.Designer.cs
r4254 r4316 66 66 this.ni.Text = "notifyIcon1"; 67 67 this.ni.Visible = true; 68 this.ni.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ni_MouseClick); 68 69 // 69 70 // ctxNotifyMenu -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/MainForm.cs
r4305 r4316 11 11 namespace HeuristicLab.Hive.Server { 12 12 public partial class MainForm : Form { 13 public MainForm(I Dictionary<string,Uri> addresses) {13 public MainForm(IEnumerable<Uri> addresses) { 14 14 InitializeComponent(); 15 15 16 Uri uri;17 16 StringBuilder servicesTxt = new StringBuilder(); 18 addresses.TryGetValue(WcfSettings.SlaveServiceName, out uri); 19 if (uri != null) 20 servicesTxt.AppendLine(String.Format("Server Slave: {0}", uri)); 21 addresses.TryGetValue(WcfSettings.ServerConsoleServiceName, out uri); 22 if (uri != null) 23 servicesTxt.AppendLine(String.Format("Server Console: {0}", uri)); 24 addresses.TryGetValue(WcfSettings.ClientServiceName, out uri); 25 if (uri != null) 26 servicesTxt.AppendLine(String.Format("Execution Engine: {0}", uri)); 17 foreach (Uri uri in addresses) { 18 servicesTxt.AppendLine(uri.ToString()); 19 } 27 20 28 21 rtfServices.AppendText(servicesTxt.ToString()); … … 49 42 this.Visible = false; 50 43 } 44 45 private void ni_MouseClick(object sender, MouseEventArgs e) { 46 ShowInfo(sender, e); 47 } 51 48 } 52 49 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/HeuristicLab.Hive.Slave.Communication-3.3.csproj
r4305 r4316 122 122 <DependentUpon>Settings.settings</DependentUpon> 123 123 </Compile> 124 <Compile Include="ServiceLocator.cs" /> 124 125 <Compile Include="WcfService.cs" /> 125 126 </ItemGroup> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/SlaveFacade.wsdl
r4305 r4316 638 638 </wsp:ExactlyOne> 639 639 </wsp:Policy> 640 <wsp:Policy wsu:Id="SlaveTcpStreamedEndpoint_policy"> 641 <wsp:ExactlyOne> 642 <wsp:All> 643 <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1" /> 644 <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 645 <wsp:Policy> 646 <sp:TransportToken> 647 <wsp:Policy> 648 <msf:SslTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" /> 649 </wsp:Policy> 650 </sp:TransportToken> 651 <sp:AlgorithmSuite> 652 <wsp:Policy> 653 <sp:Basic256 /> 654 </wsp:Policy> 655 </sp:AlgorithmSuite> 656 <sp:Layout> 657 <wsp:Policy> 658 <sp:Strict /> 659 </wsp:Policy> 660 </sp:Layout> 661 <sp:IncludeTimestamp /> 662 </wsp:Policy> 663 </sp:TransportBinding> 664 <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 665 <wsp:Policy> 666 <sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> 667 <wsp:Policy> 668 <sp:BootstrapPolicy> 669 <wsp:Policy> 670 <sp:SignedParts> 671 <sp:Body /> 672 <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" /> 673 <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" /> 674 <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" /> 675 <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" /> 676 <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" /> 677 <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" /> 678 <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" /> 679 </sp:SignedParts> 680 <sp:EncryptedParts> 681 <sp:Body /> 682 </sp:EncryptedParts> 683 <sp:TransportBinding> 684 <wsp:Policy> 685 <sp:TransportToken> 686 <wsp:Policy> 687 <msf:SslTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" /> 688 </wsp:Policy> 689 </sp:TransportToken> 690 <sp:AlgorithmSuite> 691 <wsp:Policy> 692 <sp:Basic256 /> 693 </wsp:Policy> 694 </sp:AlgorithmSuite> 695 <sp:Layout> 696 <wsp:Policy> 697 <sp:Strict /> 698 </wsp:Policy> 699 </sp:Layout> 700 <sp:IncludeTimestamp /> 701 </wsp:Policy> 702 </sp:TransportBinding> 703 <sp:SignedSupportingTokens> 704 <wsp:Policy> 705 <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"> 706 <wsp:Policy> 707 <sp:WssUsernameToken10 /> 708 </wsp:Policy> 709 </sp:UsernameToken> 710 </wsp:Policy> 711 </sp:SignedSupportingTokens> 712 <sp:Wss11> 713 <wsp:Policy /> 714 </sp:Wss11> 715 <sp:Trust10> 716 <wsp:Policy> 717 <sp:MustSupportIssuedTokens /> 718 <sp:RequireClientEntropy /> 719 <sp:RequireServerEntropy /> 720 </wsp:Policy> 721 </sp:Trust10> 722 </wsp:Policy> 723 </sp:BootstrapPolicy> 724 </wsp:Policy> 725 </sp:SecureConversationToken> 726 </wsp:Policy> 727 </sp:EndorsingSupportingTokens> 728 <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 729 <wsp:Policy /> 730 </sp:Wss11> 731 <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> 732 <wsp:Policy> 733 <sp:MustSupportIssuedTokens /> 734 <sp:RequireClientEntropy /> 735 <sp:RequireServerEntropy /> 736 </wsp:Policy> 737 </sp:Trust10> 738 <msf:Streamed xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" /> 739 <wsaw:UsingAddressing /> 740 </wsp:All> 741 </wsp:ExactlyOne> 742 </wsp:Policy> 640 743 <wsdl:import namespace="http://schemas.microsoft.com/ws/2005/02/mex/bindings" location="http://localhost:9000/SlaveService?wsdl=wsdl0" /> 641 744 <wsdl:types> … … 949 1052 <wsdl:output> 950 1053 <wsp:PolicyReference URI="#SlaveHttpEndpoint_ProcessSnapshotStreamed_output_policy" /> 1054 <soap12:body use="literal" /> 1055 </wsdl:output> 1056 </wsdl:operation> 1057 </wsdl:binding> 1058 <wsdl:binding name="SlaveTcpStreamedEndpoint" type="tns:ISlaveFacade"> 1059 <wsp:PolicyReference URI="#SlaveTcpStreamedEndpoint_policy" /> 1060 <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" /> 1061 <wsdl:operation name="Login"> 1062 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Login" style="document" /> 1063 <wsdl:input> 1064 <soap12:body use="literal" /> 1065 </wsdl:input> 1066 <wsdl:output> 1067 <soap12:body use="literal" /> 1068 </wsdl:output> 1069 </wsdl:operation> 1070 <wsdl:operation name="ProcessHeartBeat"> 1071 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat" style="document" /> 1072 <wsdl:input> 1073 <soap12:body use="literal" /> 1074 </wsdl:input> 1075 <wsdl:output> 1076 <soap12:body use="literal" /> 1077 </wsdl:output> 1078 </wsdl:operation> 1079 <wsdl:operation name="GetJob"> 1080 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetJob" style="document" /> 1081 <wsdl:input> 1082 <soap12:body use="literal" /> 1083 </wsdl:input> 1084 <wsdl:output> 1085 <soap12:body use="literal" /> 1086 </wsdl:output> 1087 </wsdl:operation> 1088 <wsdl:operation name="StoreFinishedJobResult"> 1089 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult" style="document" /> 1090 <wsdl:input> 1091 <soap12:body use="literal" /> 1092 </wsdl:input> 1093 <wsdl:output> 1094 <soap12:body use="literal" /> 1095 </wsdl:output> 1096 </wsdl:operation> 1097 <wsdl:operation name="ProcessSnapshot"> 1098 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot" style="document" /> 1099 <wsdl:input> 1100 <soap12:body use="literal" /> 1101 </wsdl:input> 1102 <wsdl:output> 1103 <soap12:body use="literal" /> 1104 </wsdl:output> 1105 </wsdl:operation> 1106 <wsdl:operation name="Logout"> 1107 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Logout" style="document" /> 1108 <wsdl:input> 1109 <soap12:body use="literal" /> 1110 </wsdl:input> 1111 <wsdl:output> 1112 <soap12:body use="literal" /> 1113 </wsdl:output> 1114 </wsdl:operation> 1115 <wsdl:operation name="IsJobStillNeeded"> 1116 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded" style="document" /> 1117 <wsdl:input> 1118 <soap12:body use="literal" /> 1119 </wsdl:input> 1120 <wsdl:output> 1121 <soap12:body use="literal" /> 1122 </wsdl:output> 1123 </wsdl:operation> 1124 <wsdl:operation name="GetPlugins"> 1125 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetPlugins" style="document" /> 1126 <wsdl:input> 1127 <soap12:body use="literal" /> 1128 </wsdl:input> 1129 <wsdl:output> 1130 <soap12:body use="literal" /> 1131 </wsdl:output> 1132 </wsdl:operation> 1133 <wsdl:operation name="GetCalendar"> 1134 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetCalendar" style="document" /> 1135 <wsdl:input> 1136 <soap12:body use="literal" /> 1137 </wsdl:input> 1138 <wsdl:output> 1139 <soap12:body use="literal" /> 1140 </wsdl:output> 1141 </wsdl:operation> 1142 <wsdl:operation name="SetCalendarStatus"> 1143 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus" style="document" /> 1144 <wsdl:input> 1145 <soap12:body use="literal" /> 1146 </wsdl:input> 1147 <wsdl:output> 1148 <soap12:body use="literal" /> 1149 </wsdl:output> 1150 </wsdl:operation> 1151 <wsdl:operation name="GetStreamedJob"> 1152 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedJob" style="document" /> 1153 <wsdl:input> 1154 <soap12:body use="literal" /> 1155 </wsdl:input> 1156 <wsdl:output> 1157 <soap12:body use="literal" /> 1158 </wsdl:output> 1159 </wsdl:operation> 1160 <wsdl:operation name="GetStreamedPlugins"> 1161 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedPlugins" style="document" /> 1162 <wsdl:input> 1163 <soap12:body use="literal" /> 1164 </wsdl:input> 1165 <wsdl:output> 1166 <soap12:body use="literal" /> 1167 </wsdl:output> 1168 </wsdl:operation> 1169 <wsdl:operation name="StoreFinishedJobResultStreamed"> 1170 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed" style="document" /> 1171 <wsdl:input> 1172 <soap12:body use="literal" /> 1173 </wsdl:input> 1174 <wsdl:output> 1175 <soap12:body use="literal" /> 1176 </wsdl:output> 1177 </wsdl:operation> 1178 <wsdl:operation name="ProcessSnapshotStreamed"> 1179 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed" style="document" /> 1180 <wsdl:input> 1181 <soap12:body use="literal" /> 1182 </wsdl:input> 1183 <wsdl:output> 951 1184 <soap12:body use="literal" /> 952 1185 </wsdl:output> … … 973 1206 </wsa10:EndpointReference> 974 1207 </wsdl:port> 1208 <wsdl:port name="SlaveTcpStreamedEndpoint" binding="tns:SlaveTcpStreamedEndpoint"> 1209 <soap12:address location="net.tcp://localhost:9001/SlaveServiceStreamed" /> 1210 <wsa10:EndpointReference> 1211 <wsa10:Address>net.tcp://localhost:9001/SlaveServiceStreamed</wsa10:Address> 1212 <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity"> 1213 <Dns>localhost</Dns> 1214 </Identity> 1215 </wsa10:EndpointReference> 1216 </wsdl:port> 1217 <wsdl:port name="SlaveTcpMexEndpoint" binding="i0:SlaveTcpMexEndpoint"> 1218 <soap12:address location="net.tcp://localhost:9001/SlaveServiceStreamed/mex" /> 1219 <wsa10:EndpointReference> 1220 <wsa10:Address>net.tcp://localhost:9001/SlaveServiceStreamed/mex</wsa10:Address> 1221 </wsa10:EndpointReference> 1222 </wsdl:port> 975 1223 </wsdl:service> 976 1224 </wsdl:definitions> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/SlaveService.wsdl
r4305 r4316 4 4 <wsp:ExactlyOne> 5 5 <wsp:All> 6 <wsaw:UsingAddressing /> 7 </wsp:All> 8 </wsp:ExactlyOne> 9 </wsp:Policy> 10 <wsp:Policy wsu:Id="SlaveTcpMexEndpoint_policy"> 11 <wsp:ExactlyOne> 12 <wsp:All> 13 <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1" /> 6 14 <wsaw:UsingAddressing /> 7 15 </wsp:All> … … 140 148 </wsdl:operation> 141 149 </wsdl:binding> 150 <wsdl:binding name="SlaveTcpMexEndpoint" type="i0:ISlaveFacade"> 151 <wsp:PolicyReference URI="#SlaveTcpMexEndpoint_policy" /> 152 <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" /> 153 <wsdl:operation name="Login"> 154 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Login" style="document" /> 155 <wsdl:input> 156 <soap12:body use="literal" /> 157 </wsdl:input> 158 <wsdl:output> 159 <soap12:body use="literal" /> 160 </wsdl:output> 161 </wsdl:operation> 162 <wsdl:operation name="ProcessHeartBeat"> 163 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat" style="document" /> 164 <wsdl:input> 165 <soap12:body use="literal" /> 166 </wsdl:input> 167 <wsdl:output> 168 <soap12:body use="literal" /> 169 </wsdl:output> 170 </wsdl:operation> 171 <wsdl:operation name="GetJob"> 172 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetJob" style="document" /> 173 <wsdl:input> 174 <soap12:body use="literal" /> 175 </wsdl:input> 176 <wsdl:output> 177 <soap12:body use="literal" /> 178 </wsdl:output> 179 </wsdl:operation> 180 <wsdl:operation name="StoreFinishedJobResult"> 181 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult" style="document" /> 182 <wsdl:input> 183 <soap12:body use="literal" /> 184 </wsdl:input> 185 <wsdl:output> 186 <soap12:body use="literal" /> 187 </wsdl:output> 188 </wsdl:operation> 189 <wsdl:operation name="ProcessSnapshot"> 190 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot" style="document" /> 191 <wsdl:input> 192 <soap12:body use="literal" /> 193 </wsdl:input> 194 <wsdl:output> 195 <soap12:body use="literal" /> 196 </wsdl:output> 197 </wsdl:operation> 198 <wsdl:operation name="Logout"> 199 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Logout" style="document" /> 200 <wsdl:input> 201 <soap12:body use="literal" /> 202 </wsdl:input> 203 <wsdl:output> 204 <soap12:body use="literal" /> 205 </wsdl:output> 206 </wsdl:operation> 207 <wsdl:operation name="IsJobStillNeeded"> 208 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded" style="document" /> 209 <wsdl:input> 210 <soap12:body use="literal" /> 211 </wsdl:input> 212 <wsdl:output> 213 <soap12:body use="literal" /> 214 </wsdl:output> 215 </wsdl:operation> 216 <wsdl:operation name="GetPlugins"> 217 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetPlugins" style="document" /> 218 <wsdl:input> 219 <soap12:body use="literal" /> 220 </wsdl:input> 221 <wsdl:output> 222 <soap12:body use="literal" /> 223 </wsdl:output> 224 </wsdl:operation> 225 <wsdl:operation name="GetCalendar"> 226 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetCalendar" style="document" /> 227 <wsdl:input> 228 <soap12:body use="literal" /> 229 </wsdl:input> 230 <wsdl:output> 231 <soap12:body use="literal" /> 232 </wsdl:output> 233 </wsdl:operation> 234 <wsdl:operation name="SetCalendarStatus"> 235 <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus" style="document" /> 236 <wsdl:input> 237 <soap12:body use="literal" /> 238 </wsdl:input> 239 <wsdl:output> 240 <soap12:body use="literal" /> 241 </wsdl:output> 242 </wsdl:operation> 243 <wsdl:operation name="GetStreamedJob"> 244 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedJob" style="document" /> 245 <wsdl:input> 246 <soap12:body use="literal" /> 247 </wsdl:input> 248 <wsdl:output> 249 <soap12:body use="literal" /> 250 </wsdl:output> 251 </wsdl:operation> 252 <wsdl:operation name="GetStreamedPlugins"> 253 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedPlugins" style="document" /> 254 <wsdl:input> 255 <soap12:body use="literal" /> 256 </wsdl:input> 257 <wsdl:output> 258 <soap12:body use="literal" /> 259 </wsdl:output> 260 </wsdl:operation> 261 <wsdl:operation name="StoreFinishedJobResultStreamed"> 262 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed" style="document" /> 263 <wsdl:input> 264 <soap12:body use="literal" /> 265 </wsdl:input> 266 <wsdl:output> 267 <soap12:body use="literal" /> 268 </wsdl:output> 269 </wsdl:operation> 270 <wsdl:operation name="ProcessSnapshotStreamed"> 271 <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed" style="document" /> 272 <wsdl:input> 273 <soap12:body use="literal" /> 274 </wsdl:input> 275 <wsdl:output> 276 <soap12:body use="literal" /> 277 </wsdl:output> 278 </wsdl:operation> 279 </wsdl:binding> 142 280 </wsdl:definitions> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/configuration.svcinfo
r4305 r4316 3 3 <behaviors /> 4 4 <bindings> 5 <binding digest="System.ServiceModel.Configuration.NetTcpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferSize="65536" maxConnections="10" name="SlaveTcpStreamedEndpoint" transactionFlow="false" transactionProtocol="OleTransactions" transferMode="Streamed"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><reliableSession enabled="false" inactivityTimeout="00:10:00" ordered="true" /><security mode="TransportWithMessageCredential"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /></security></Data>" bindingType="netTcpBinding" name="SlaveTcpStreamedEndpoint" /> 6 <binding digest="System.ServiceModel.Configuration.NetTcpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferSize="65536" maxConnections="10" name="SlaveTcpMexEndpoint" transactionFlow="false" transactionProtocol="OleTransactions" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><reliableSession enabled="false" inactivityTimeout="00:10:00" ordered="true" /><security mode="None"><message clientCredentialType="Windows" /><transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /></security></Data>" bindingType="netTcpBinding" name="SlaveTcpMexEndpoint" /> 5 7 <binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" messageEncoding="Text" name="SlaveHttpEndpoint" textEncoding="utf-8" transactionFlow="false"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><reliableSession enabled="false" inactivityTimeout="00:10:00" ordered="true" /><security mode="Message"><message algorithmSuite="Default" clientCredentialType="UserName" negotiateServiceCredential="true" /><transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /></security></Data>" bindingType="wsHttpBinding" name="SlaveHttpEndpoint" /> 6 8 <binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" messageEncoding="Text" name="SlaveMexEndpoint" textEncoding="utf-8" transactionFlow="false"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><reliableSession enabled="false" inactivityTimeout="00:10:00" ordered="true" /><security mode="None"><message clientCredentialType="Windows" negotiateServiceCredential="true" /><transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /></security></Data>" bindingType="wsHttpBinding" name="SlaveMexEndpoint" /> … … 9 11 <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:9000/SlaveService" binding="wsHttpBinding" bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveHttpEndpoint"><identity><certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" /></identity></Data>" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:9000/SlaveService" binding="wsHttpBinding" bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveHttpEndpoint"><identity><certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" /></identity></Data>" contractName="SlaveService.ISlaveFacade" name="SlaveHttpEndpoint" /> 10 12 <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding" bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveMexEndpoint" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding" bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveMexEndpoint" />" contractName="SlaveService.ISlaveFacade" name="SlaveMexEndpoint" /> 13 <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="net.tcp://localhost:9001/SlaveServiceStreamed" binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint"><identity><dns value="localhost" /></identity></Data>" digest="<?xml version="1.0" encoding="utf-16"?><Data address="net.tcp://localhost:9001/SlaveServiceStreamed" binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint"><identity><dns value="localhost" /></identity></Data>" contractName="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint" /> 14 <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="net.tcp://localhost:9001/SlaveServiceStreamed/mex" binding="netTcpBinding" bindingConfiguration="SlaveTcpMexEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="net.tcp://localhost:9001/SlaveServiceStreamed/mex" binding="netTcpBinding" bindingConfiguration="SlaveTcpMexEndpoint" contract="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" />" contractName="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" /> 11 15 </endpoints> 12 16 </configurationSnapshot> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/configuration91.svcinfo
r4305 r4316 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum=" qLWn3fCZTwKyYJV5+O0lOFyiNpQ=">2 <SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="JGDzzEU6ZhHdCWJVHV2k7+yia3Q="> 3 3 <bindingConfigurations> 4 <bindingConfiguration bindingType="netTcpBinding" name="SlaveTcpStreamedEndpoint"> 5 <properties> 6 <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 7 <serializedValue>SlaveTcpStreamedEndpoint</serializedValue> 8 </property> 9 <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 10 <serializedValue>00:01:00</serializedValue> 11 </property> 12 <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 13 <serializedValue>00:01:00</serializedValue> 14 </property> 15 <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 16 <serializedValue>00:10:00</serializedValue> 17 </property> 18 <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 19 <serializedValue>00:01:00</serializedValue> 20 </property> 21 <property path="/transactionFlow" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 22 <serializedValue>False</serializedValue> 23 </property> 24 <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 25 <serializedValue>Streamed</serializedValue> 26 </property> 27 <property path="/transactionProtocol" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransactionProtocol, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 28 <serializedValue>OleTransactions</serializedValue> 29 </property> 30 <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 31 <serializedValue>StrongWildcard</serializedValue> 32 </property> 33 <property path="/listenBacklog" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 34 <serializedValue>10</serializedValue> 35 </property> 36 <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 37 <serializedValue>524288</serializedValue> 38 </property> 39 <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 40 <serializedValue>65536</serializedValue> 41 </property> 42 <property path="/maxConnections" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 43 <serializedValue>10</serializedValue> 44 </property> 45 <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 46 <serializedValue>65536</serializedValue> 47 </property> 48 <property path="/portSharingEnabled" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 49 <serializedValue>False</serializedValue> 50 </property> 51 <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 52 <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> 53 </property> 54 <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 55 <serializedValue>32</serializedValue> 56 </property> 57 <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 58 <serializedValue>8192</serializedValue> 59 </property> 60 <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 61 <serializedValue>16384</serializedValue> 62 </property> 63 <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 64 <serializedValue>4096</serializedValue> 65 </property> 66 <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 67 <serializedValue>16384</serializedValue> 68 </property> 69 <property path="/reliableSession" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 70 <serializedValue>System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement</serializedValue> 71 </property> 72 <property path="/reliableSession/ordered" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 73 <serializedValue>True</serializedValue> 74 </property> 75 <property path="/reliableSession/inactivityTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 76 <serializedValue>00:10:00</serializedValue> 77 </property> 78 <property path="/reliableSession/enabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 79 <serializedValue>False</serializedValue> 80 </property> 81 <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.NetTcpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 82 <serializedValue>System.ServiceModel.Configuration.NetTcpSecurityElement</serializedValue> 83 </property> 84 <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 85 <serializedValue>TransportWithMessageCredential</serializedValue> 86 </property> 87 <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TcpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 88 <serializedValue>System.ServiceModel.Configuration.TcpTransportSecurityElement</serializedValue> 89 </property> 90 <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TcpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 91 <serializedValue>Windows</serializedValue> 92 </property> 93 <property path="/security/transport/protectionLevel" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.Security.ProtectionLevel, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 94 <serializedValue>EncryptAndSign</serializedValue> 95 </property> 96 <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 97 <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> 98 </property> 99 <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 100 <serializedValue>Never</serializedValue> 101 </property> 102 <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 103 <serializedValue>TransportSelected</serializedValue> 104 </property> 105 <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 106 <serializedValue>(Collection)</serializedValue> 107 </property> 108 <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.MessageSecurityOverTcpElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 109 <serializedValue>System.ServiceModel.Configuration.MessageSecurityOverTcpElement</serializedValue> 110 </property> 111 <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.MessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 112 <serializedValue>UserName</serializedValue> 113 </property> 114 <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 115 <serializedValue>Default</serializedValue> 116 </property> 117 </properties> 118 </bindingConfiguration> 119 <bindingConfiguration bindingType="netTcpBinding" name="SlaveTcpMexEndpoint"> 120 <properties> 121 <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 122 <serializedValue>SlaveTcpMexEndpoint</serializedValue> 123 </property> 124 <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 125 <serializedValue>00:01:00</serializedValue> 126 </property> 127 <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 128 <serializedValue>00:01:00</serializedValue> 129 </property> 130 <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 131 <serializedValue>00:10:00</serializedValue> 132 </property> 133 <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 134 <serializedValue>00:01:00</serializedValue> 135 </property> 136 <property path="/transactionFlow" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 137 <serializedValue>False</serializedValue> 138 </property> 139 <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 140 <serializedValue>Buffered</serializedValue> 141 </property> 142 <property path="/transactionProtocol" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransactionProtocol, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 143 <serializedValue>OleTransactions</serializedValue> 144 </property> 145 <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 146 <serializedValue>StrongWildcard</serializedValue> 147 </property> 148 <property path="/listenBacklog" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 149 <serializedValue>10</serializedValue> 150 </property> 151 <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 152 <serializedValue>524288</serializedValue> 153 </property> 154 <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 155 <serializedValue>65536</serializedValue> 156 </property> 157 <property path="/maxConnections" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 158 <serializedValue>10</serializedValue> 159 </property> 160 <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 161 <serializedValue>65536</serializedValue> 162 </property> 163 <property path="/portSharingEnabled" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 164 <serializedValue>False</serializedValue> 165 </property> 166 <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 167 <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> 168 </property> 169 <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 170 <serializedValue>32</serializedValue> 171 </property> 172 <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 173 <serializedValue>8192</serializedValue> 174 </property> 175 <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 176 <serializedValue>16384</serializedValue> 177 </property> 178 <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 179 <serializedValue>4096</serializedValue> 180 </property> 181 <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 182 <serializedValue>16384</serializedValue> 183 </property> 184 <property path="/reliableSession" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 185 <serializedValue>System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement</serializedValue> 186 </property> 187 <property path="/reliableSession/ordered" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 188 <serializedValue>True</serializedValue> 189 </property> 190 <property path="/reliableSession/inactivityTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 191 <serializedValue>00:10:00</serializedValue> 192 </property> 193 <property path="/reliableSession/enabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 194 <serializedValue>False</serializedValue> 195 </property> 196 <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.NetTcpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 197 <serializedValue>System.ServiceModel.Configuration.NetTcpSecurityElement</serializedValue> 198 </property> 199 <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 200 <serializedValue>None</serializedValue> 201 </property> 202 <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TcpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 203 <serializedValue>System.ServiceModel.Configuration.TcpTransportSecurityElement</serializedValue> 204 </property> 205 <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TcpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 206 <serializedValue>Windows</serializedValue> 207 </property> 208 <property path="/security/transport/protectionLevel" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.Security.ProtectionLevel, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 209 <serializedValue>EncryptAndSign</serializedValue> 210 </property> 211 <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 212 <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> 213 </property> 214 <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 215 <serializedValue>Never</serializedValue> 216 </property> 217 <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 218 <serializedValue>TransportSelected</serializedValue> 219 </property> 220 <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 221 <serializedValue>(Collection)</serializedValue> 222 </property> 223 <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.MessageSecurityOverTcpElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 224 <serializedValue>System.ServiceModel.Configuration.MessageSecurityOverTcpElement</serializedValue> 225 </property> 226 <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.MessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 227 <serializedValue>Windows</serializedValue> 228 </property> 229 <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 230 <serializedValue>Default</serializedValue> 231 </property> 232 </properties> 233 </bindingConfiguration> 4 234 <bindingConfiguration bindingType="wsHttpBinding" name="SlaveHttpEndpoint"> 5 235 <properties> … … 422 652 </properties> 423 653 </endpoint> 654 <endpoint name="SlaveTcpStreamedEndpoint" contract="SlaveService.ISlaveFacade" bindingType="netTcpBinding" address="net.tcp://localhost:9001/SlaveServiceStreamed" bindingConfiguration="SlaveTcpStreamedEndpoint"> 655 <properties> 656 <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 657 <serializedValue>net.tcp://localhost:9001/SlaveServiceStreamed</serializedValue> 658 </property> 659 <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 660 <serializedValue /> 661 </property> 662 <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 663 <serializedValue>netTcpBinding</serializedValue> 664 </property> 665 <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 666 <serializedValue>SlaveTcpStreamedEndpoint</serializedValue> 667 </property> 668 <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 669 <serializedValue>SlaveService.ISlaveFacade</serializedValue> 670 </property> 671 <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 672 <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> 673 </property> 674 <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 675 <serializedValue><Header /></serializedValue> 676 </property> 677 <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 678 <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> 679 </property> 680 <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 681 <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> 682 </property> 683 <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 684 <serializedValue /> 685 </property> 686 <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 687 <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> 688 </property> 689 <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 690 <serializedValue /> 691 </property> 692 <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 693 <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> 694 </property> 695 <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 696 <serializedValue>localhost</serializedValue> 697 </property> 698 <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 699 <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> 700 </property> 701 <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 702 <serializedValue /> 703 </property> 704 <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 705 <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> 706 </property> 707 <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 708 <serializedValue /> 709 </property> 710 <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 711 <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> 712 </property> 713 <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 714 <serializedValue>My</serializedValue> 715 </property> 716 <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 717 <serializedValue>LocalMachine</serializedValue> 718 </property> 719 <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 720 <serializedValue>FindBySubjectDistinguishedName</serializedValue> 721 </property> 722 <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 723 <serializedValue /> 724 </property> 725 <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 726 <serializedValue>False</serializedValue> 727 </property> 728 <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 729 <serializedValue>SlaveTcpStreamedEndpoint</serializedValue> 730 </property> 731 <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 732 <serializedValue /> 733 </property> 734 <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 735 <serializedValue /> 736 </property> 737 </properties> 738 </endpoint> 739 <endpoint name="SlaveTcpMexEndpoint" contract="SlaveService.ISlaveFacade" bindingType="netTcpBinding" address="net.tcp://localhost:9001/SlaveServiceStreamed/mex" bindingConfiguration="SlaveTcpMexEndpoint"> 740 <properties> 741 <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 742 <serializedValue>net.tcp://localhost:9001/SlaveServiceStreamed/mex</serializedValue> 743 </property> 744 <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 745 <serializedValue /> 746 </property> 747 <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 748 <serializedValue>netTcpBinding</serializedValue> 749 </property> 750 <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 751 <serializedValue>SlaveTcpMexEndpoint</serializedValue> 752 </property> 753 <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 754 <serializedValue>SlaveService.ISlaveFacade</serializedValue> 755 </property> 756 <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 757 <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> 758 </property> 759 <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 760 <serializedValue><Header /></serializedValue> 761 </property> 762 <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 763 <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> 764 </property> 765 <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 766 <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> 767 </property> 768 <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 769 <serializedValue /> 770 </property> 771 <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 772 <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> 773 </property> 774 <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 775 <serializedValue /> 776 </property> 777 <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 778 <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> 779 </property> 780 <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 781 <serializedValue /> 782 </property> 783 <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 784 <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> 785 </property> 786 <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 787 <serializedValue /> 788 </property> 789 <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 790 <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> 791 </property> 792 <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 793 <serializedValue /> 794 </property> 795 <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 796 <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> 797 </property> 798 <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 799 <serializedValue>My</serializedValue> 800 </property> 801 <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 802 <serializedValue>LocalMachine</serializedValue> 803 </property> 804 <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 805 <serializedValue>FindBySubjectDistinguishedName</serializedValue> 806 </property> 807 <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 808 <serializedValue /> 809 </property> 810 <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 811 <serializedValue>False</serializedValue> 812 </property> 813 <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 814 <serializedValue>SlaveTcpMexEndpoint</serializedValue> 815 </property> 816 <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 817 <serializedValue /> 818 </property> 819 <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 820 <serializedValue /> 821 </property> 822 </properties> 823 </endpoint> 424 824 </endpoints> 425 825 </SavedWcfConfigurationInformation> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/WcfService.cs
r4305 r4316 62 62 public bool LoggedIn { get; set; } 63 63 public string ServerIP { get; private set; } 64 public int ServerPort { get; private set; }65 64 66 65 public event EventHandler ConnectionRestored; … … 84 83 try { 85 84 Logger.Debug("Starting the Connection Process"); 86 if (String.Empty.Equals(ServerIP) || ServerPort == 0) {87 Logger.Info("No Server IP or Portset!");85 if (String.Empty.Equals(ServerIP)) { 86 Logger.Info("No Server IP set!"); 88 87 return; 89 88 } 90 89 91 90 Logger.Debug("Creating the new connection proxy"); 92 proxy = CreateSlaveFacadeClient();91 proxy = ServiceLocator.CreateStreamedSlaveFacade(ServerIP); 93 92 Logger.Debug("Created the new connection proxy"); 94 93 … … 122 121 } 123 122 124 private SlaveFacadeClient CreateSlaveFacadeClient() { 125 SlaveFacadeClient client = new SlaveFacadeClient("SlaveHttpEndpoint"); 126 WcfSettings.SetEndpointAddress(client.Endpoint, string.Format("http://{0}:{1}/{2}", ServerIP, ServerPort, WcfSettings.SlaveServiceName)); 127 return client; 128 } 129 130 131 /// <summary> 132 /// Changes the Connectionsettings (serverIP & serverPort) and reconnects 123 /// <summary> 124 /// Changes the Connectionsettings (serverIP) and reconnects 133 125 /// </summary> 134 126 /// <param name="serverIP">current Server IP</param> 135 /// <param name="serverPort">current Server Port</param> 136 public void Connect(String serverIP, int serverPort) { 137 Logger.Debug("Called Connected with " + serverIP + ":" + serverPort); 127 public void Connect(String serverIP) { 128 Logger.Debug("Called Connected with " + serverIP); 138 129 String oldIp = this.ServerIP; 139 int oldPort = this.ServerPort;140 130 this.ServerIP = serverIP; 141 this.ServerPort = serverPort;142 131 Connect(); 143 if (oldIp != serverIP || oldPort != ServerPort)132 if (oldIp != serverIP) 144 133 if (ServerChanged != null) 145 134 ServerChanged(this, new EventArgs()); 146 135 } 147 136 148 public void SetIP AndPort(String serverIP, int serverPort) {149 Logger.Debug("Called with " + serverIP + ":" + serverPort);137 public void SetIP(String serverIP) { 138 Logger.Debug("Called with " + serverIP); 150 139 this.ServerIP = serverIP; 151 this.ServerPort = serverPort;152 140 } 153 141 -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/app.config
r4305 r4316 19 19 </behaviors> 20 20 <bindings> 21 <netTcpBinding> 22 <binding name="SlaveTcpStreamedEndpoint" closeTimeout="00:01:00" 23 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" 24 transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions" 25 hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="104857600" 26 maxBufferSize="104857600" maxConnections="10" maxReceivedMessageSize="104857600"> 27 <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="104857600" 28 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 29 <reliableSession ordered="true" inactivityTimeout="00:10:00" 30 enabled="false" /> 31 <security mode="TransportWithMessageCredential"> 32 <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /> 33 <message clientCredentialType="UserName" algorithmSuite="Default" /> 34 </security> 35 </binding> 36 <binding name="SlaveTcpMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00" 37 receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" 38 transferMode="Buffered" transactionProtocol="OleTransactions" 39 hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288" 40 maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536"> 41 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 42 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 43 <reliableSession ordered="true" inactivityTimeout="00:10:00" 44 enabled="false" /> 45 <security mode="None"> 46 <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /> 47 <message clientCredentialType="Windows" /> 48 </security> 49 </binding> 50 </netTcpBinding> 21 51 <wsHttpBinding> 22 52 <binding name="SlaveHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00" 23 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"24 25 maxBufferPoolSize="524288" maxReceivedMessageSize="65536"26 27 53 receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" 54 transactionFlow="false" hostNameComparisonMode="StrongWildcard" 55 maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600" 56 messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" 57 allowCookies="false"> 28 58 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 29 59 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 30 60 <reliableSession ordered="true" inactivityTimeout="00:10:00" 31 61 enabled="false" /> 32 62 <security mode="Message"> 33 63 <transport clientCredentialType="Windows" proxyCredentialType="None" 34 64 realm="" /> 35 65 <message clientCredentialType="UserName" negotiateServiceCredential="true" 36 66 algorithmSuite="Default" /> 37 67 </security> 38 68 </binding> 39 69 <binding name="SlaveMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00" 40 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" 41 transactionFlow="false" hostNameComparisonMode="StrongWildcard" 42 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" 43 messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" 44 allowCookies="false"> 70 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" 71 transactionFlow="false" hostNameComparisonMode="StrongWildcard" 72 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" 73 textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 45 74 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 46 75 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 47 76 <reliableSession ordered="true" inactivityTimeout="00:10:00" 48 77 enabled="false" /> 49 78 <security mode="None"> 50 79 <transport clientCredentialType="Windows" proxyCredentialType="None" 51 80 realm="" /> 52 81 <message clientCredentialType="Windows" negotiateServiceCredential="true" /> 53 82 </security> … … 56 85 </bindings> 57 86 <client> 58 <endpoint address="http://localhost:9000/SlaveService" b ehaviorConfiguration="SlaveServiceBehaviour" binding="wsHttpBinding"59 60 87 <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" behaviorConfiguration="SlaveServiceBehaviour" 88 bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade" 89 name="SlaveHttpEndpoint"> 61 90 <identity> 62 91 <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" /> … … 64 93 </endpoint> 65 94 <endpoint address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding" 66 bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade" 67 name="SlaveMexEndpoint" /> 95 bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade" 96 name="SlaveMexEndpoint" /> 97 <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed" behaviorConfiguration="SlaveServiceBehaviour" 98 binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint" 99 contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint"> 100 <identity> 101 <dns value="localhost" /> 102 </identity> 103 </endpoint> 104 <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed/mex" 105 binding="netTcpBinding" bindingConfiguration="SlaveTcpMexEndpoint" 106 contract="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" /> 68 107 </client> 69 108 </system.serviceModel> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/ConfigurationManager/ConfigManager.cs
r4305 r4316 80 80 /// </summary> 81 81 /// <returns>The IP and Port of the server</returns> 82 public ConnectionContainer GetServerIP AndPort() {82 public ConnectionContainer GetServerIP() { 83 83 ConnectionContainer cc = new ConnectionContainer(); 84 84 cc.IPAdress = Settings.Default.ServerIP; 85 cc.Port = Settings.Default.ServerPort;86 85 return cc; 87 86 } 88 87 89 88 /// <summary> 90 /// Sets and saves IP and Portin the Settings framework89 /// Sets and saves IP in the Settings framework 91 90 /// </summary> 92 91 /// <param name="cc"></param> 93 public void SetServerIP AndPort(ConnectionContainer cc) {92 public void SetServerIP(ConnectionContainer cc) { 94 93 Settings.Default.ServerIP = cc.IPAdress; 95 Settings.Default.ServerPort = cc.Port;96 94 Settings.Default.Save(); 97 95 } 96 98 97 /// <summary> 99 98 /// collects and returns information that get displayed by the Client Console -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Core.cs
r4305 r4316 84 84 85 85 //Recover Server IP and Port from the Settings Framework 86 ConnectionContainer cc = ConfigManager.Instance.GetServerIP AndPort();87 if (cc.IPAdress != String.Empty && cc.Port != 0)88 wcfService.SetIP AndPort(cc.IPAdress, cc.Port);86 ConnectionContainer cc = ConfigManager.Instance.GetServerIP(); 87 if (cc.IPAdress != String.Empty) 88 wcfService.SetIP(cc.IPAdress); 89 89 90 90 //Initialize the heartbeat … … 223 223 } else { 224 224 Logger.Info("Storing the finished job with id: " + jId + " to hdd"); 225 JobStorageManager.PersistObjectToDisc(wcfService.ServerIP, wcfService.ServerPort, jId, sJob);225 JobStorageManager.PersistObjectToDisc(wcfService.ServerIP, 0, jId, sJob); // [chn] Port is not unique anymore (since we need two ports for http and net.tcp-streaming). also the port is now specified only in app.config. use port 0 for the moment 226 226 KillAppDomain(jId); 227 227 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/JobStorage/JobStorageManager.cs
r4267 r4316 45 45 public static void CheckAndSubmitJobsFromDisc() { 46 46 for (int index = storedJobsList.Count; index > 0; index--) { 47 if (WcfService.Instance.LoggedIn && (storedJobsList[index - 1].ServerIP == WcfService.Instance.ServerIP && storedJobsList[index - 1].ServerPort == WcfService.Instance.ServerPort)) {47 if (WcfService.Instance.LoggedIn && (storedJobsList[index - 1].ServerIP == WcfService.Instance.ServerIP)) { 48 48 String filename = storedJobsList[index - 1].ServerIP + "." + storedJobsList[index - 1].ServerPort + "." + storedJobsList[index - 1].JobID.ToString(); 49 49 Logger.Info("Sending stored job " + storedJobsList[index - 1].JobID + " to the server"); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Properties/Settings.Designer.cs
r4253 r4316 26 26 [global::System.Configuration.UserScopedSettingAttribute()] 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 [global::System.Configuration.DefaultSettingValueAttribute("00000000-0000-0000-0000-000000000000")]29 public global::System.Guid Guid {30 get {31 return ((global::System.Guid)(this["Guid"]));32 }33 set {34 this["Guid"] = value;35 }36 }37 38 [global::System.Configuration.UserScopedSettingAttribute()]39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]40 28 [global::System.Configuration.DefaultSettingValueAttribute("")] 41 29 public string ServerIP { … … 50 38 [global::System.Configuration.UserScopedSettingAttribute()] 51 39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 52 [global::System.Configuration.DefaultSettingValueAttribute("0 ")]53 public int ServerPort{40 [global::System.Configuration.DefaultSettingValueAttribute("00000000-0000-0000-0000-000000000000")] 41 public global::System.Guid Guid { 54 42 get { 55 return (( int)(this["ServerPort"]));43 return ((global::System.Guid)(this["Guid"])); 56 44 } 57 45 set { 58 this[" ServerPort"] = value;46 this["Guid"] = value; 59 47 } 60 48 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Properties/Settings.settings
r4253 r4316 3 3 <Profiles /> 4 4 <Settings> 5 <Setting Name="ServerIP" Type="System.String" Scope="User"> 6 <Value Profile="(Default)" /> 7 </Setting> 5 8 <Setting Name="Guid" Type="System.Guid" Scope="User"> 6 9 <Value Profile="(Default)">00000000-0000-0000-0000-000000000000</Value> 7 10 </Setting> 8 <Setting Name="ServerIP" Type="System.String" Scope="User">9 <Value Profile="(Default)" />10 </Setting>11 <Setting Name="ServerPort" Type="System.Int32" Scope="User">12 <Value Profile="(Default)">0</Value>13 </Setting>14 11 </Settings> 15 12 </SettingsFile> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/SlaveConsoleService/SlaveConsoleCommunicator.cs
r4260 r4316 19 19 20 20 public void SetConnection(ConnectionContainer container) { 21 ConfigManager.Instance.SetServerIP AndPort(container);22 WcfService.Instance.Connect(container.IPAdress , container.Port);21 ConfigManager.Instance.SetServerIP(container); 22 WcfService.Instance.Connect(container.IPAdress); 23 23 } 24 24 … … 28 28 29 29 public ConnectionContainer GetCurrentConnection() { 30 return new ConnectionContainer { IPAdress = WcfService.Instance.ServerIP , Port = WcfService.Instance.ServerPort};30 return new ConnectionContainer { IPAdress = WcfService.Instance.ServerIP }; 31 31 } 32 32 -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/SlaveConsoleService/TransferObjects/ConnectionContainer.cs
r4260 r4316 31 31 [DataMember] 32 32 public string IPAdress { get; set; } 33 [DataMember]34 public int Port { get; set; }35 33 } 36 34 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/app.config
r4253 r4316 8 8 <userSettings> 9 9 <HeuristicLab.Hive.Slave.Core.Properties.Settings> 10 <setting name="Guid" serializeAs="String"> 11 <value>00000000-0000-0000-0000-000000000000</value> 12 </setting> 13 <setting name="ServerIP" serializeAs="String"> 14 <value /> 15 </setting> 16 <setting name="ServerPort" serializeAs="String"> 17 <value>0</value> 18 </setting> 19 </HeuristicLab.Hive.Slave.Core.Properties.Settings> 10 <setting name="ServerIP" serializeAs="String"> 11 <value /> 12 </setting> 13 <setting name="Guid" serializeAs="String"> 14 <value>00000000-0000-0000-0000-000000000000</value> 15 </setting> 16 </HeuristicLab.Hive.Slave.Core.Properties.Settings> 20 17 </userSettings> 21 18 </configuration>
Note: See TracChangeset
for help on using the changeset viewer.