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