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