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