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