Esempio n. 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SecurityServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_SecurityService));
 }
Esempio n. 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SecurityServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_SecurityService));
 }
Esempio n. 3
0
 public SecurityServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SecurityServiceClient.GetBindingForEndpoint(endpointConfiguration), SecurityServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 4
0
 public SecurityServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SecurityServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 5
0
 public SecurityServiceClient() :
     base(SecurityServiceClient.GetDefaultBinding(), SecurityServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_SecurityService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }