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