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