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