Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(DBServiceClient.GetEndpointAddress(EndpointConfiguration.MybasicHttpBinding));
 }
Ejemplo n.º 2
0
 public DBServiceClient(EndpointConfiguration endpointConfiguration) :
     base(DBServiceClient.GetBindingForEndpoint(endpointConfiguration), DBServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }