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