Exemple #1
0
        public ServicoPJ2PortTypeClient() :
            base(ServicoPJ2PortTypeClient.GetDefaultBinding(), ServicoPJ2PortTypeClient.GetDefaultEndpointAddress())
        {
            this.Endpoint.Name = EndpointConfiguration.ServicoPJ2HttpPort.ToString();

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