private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(MemberBankDetailIntegrationPortTypeClient.GetEndpointAddress(EndpointConfiguration.MemberBankDetailIntegrationPort12)); }
public MemberBankDetailIntegrationPortTypeClient(EndpointConfiguration endpointConfiguration) : base(MemberBankDetailIntegrationPortTypeClient.GetBindingForEndpoint(endpointConfiguration), MemberBankDetailIntegrationPortTypeClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }