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