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