Ejemplo n.º 1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     CompanyService.CompanyPublicServiceClient client = new CompanyService.CompanyPublicServiceClient("BasicHttpBinding_ICompanyPublicService");
     Label1.Text = client.GetPublicInformation();
 }
Ejemplo n.º 2
0
 public ContentResult GetPublicInformation(string submitButton)
 {
     CompanyService.CompanyPublicServiceClient client = new CompanyService.CompanyPublicServiceClient("BasicHttpBinding_ICompanyPublicService");
     return(Content(client.GetPublicInformation()));
 }
Ejemplo n.º 3
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     CompanyService.CompanyPublicServiceClient client = new CompanyService.CompanyPublicServiceClient("BasicHttpBinding_ICompanyPublicService");
     Label1.Text = client.GetPublicInformation();
 }
Ejemplo n.º 4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     companyPublicService = new CompanyService.CompanyPublicServiceClient("BasicHttpBinding_ICompanyPublicService");
     companyConfidentialService = new CompanyService.CompanyConfidentialServiceClient("NetTcpBinding_ICompanyConfidentialService");
 }