Esempio n. 1
0
        public IActionResult Index()
        {
            luxeService.IemployeeClient client = new IemployeeClient();
            DataSet ds = new DataSet();
            //string e = client.get
            //e = client.Getall();
            Task <string> tem = await client.GetallAsync();

            return(View());
        }
Esempio n. 2
0
 public IemployeeClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(IemployeeClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 3
0
 public IemployeeClient(EndpointConfiguration endpointConfiguration) :
     base(IemployeeClient.GetBindingForEndpoint(endpointConfiguration), IemployeeClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 4
0
 public IemployeeClient() :
     base(IemployeeClient.GetDefaultBinding(), IemployeeClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_Iemployee.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Esempio n. 5
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(IemployeeClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_Iemployee));
 }
Esempio n. 6
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(IemployeeClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_Iemployee));
 }