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