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