public MicrotingWS_PortClient(EndpointConfiguration endpointConfiguration) : base(MicrotingWS_PortClient.GetBindingForEndpoint(endpointConfiguration), MicrotingWS_PortClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return MicrotingWS_PortClient.GetEndpointAddress(EndpointConfiguration.MicrotingWS_Port); }