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