Пример #1
0
 public GoDaddyTestClient(EndpointConfiguration endpointConfiguration) :
     base(GoDaddyTestClient.GetBindingForEndpoint(endpointConfiguration), GoDaddyTestClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 public GoDaddyTestClient() :
     base(GoDaddyTestClient.GetDefaultBinding(), GoDaddyTestClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IGoDaddyTest.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(GoDaddyTestClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IGoDaddyTest));
 }
Пример #4
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(GoDaddyTestClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IGoDaddyTest));
 }
Пример #5
0
 public GoDaddyTestClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(GoDaddyTestClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }