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