Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(Service1SoapClient.GetEndpointAddress(EndpointConfiguration.Service1Soap));
 }
Ejemplo n.º 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(Service1SoapClient.GetBindingForEndpoint(EndpointConfiguration.Service1Soap));
 }
Ejemplo n.º 3
0
 public Service1SoapClient(EndpointConfiguration endpointConfiguration) :
     base(Service1SoapClient.GetBindingForEndpoint(endpointConfiguration), Service1SoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 4
0
 public Service1SoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(Service1SoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 5
0
 public Service1SoapClient() :
     base(Service1SoapClient.GetDefaultBinding(), Service1SoapClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.Service1Soap.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }