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