Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceInterfaceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServiceInterface));
 }
Exemple #2
0
 public ServiceInterfaceClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceInterfaceClient.GetBindingForEndpoint(endpointConfiguration), ServiceInterfaceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }