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