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