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