public TodoASMXServiceSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(TodoASMXServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(TodoASMXServiceSoapClient.GetBindingForEndpoint(EndpointConfiguration.TodoASMXServiceSoap)); }
public TodoASMXServiceSoapClient(EndpointConfiguration endpointConfiguration) : base(TodoASMXServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), TodoASMXServiceSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }