Beispiel #1
0
 private void button6_Click(object sender, EventArgs e)
 {
     using (CustomerService.CustomerWebService ops = new CustomerService.CustomerWebService())
     {
         label5.Text = "call";
         ops.Url     = textBox3.Text;
         customerSearchParameters sp = new customerSearchParameters();
         sp.clientId   = "IMISTD";
         sp.customerId = "171";
         sp.maxResult  = null;
         CustomerService.address[] list = ops.getAddresses(sp);
         label5.Text = Convert.ToString(list.GetLength(0));
     }
 }
Beispiel #2
0
 private void button9_Click(object sender, EventArgs e)
 {
     using (CustomerService.CustomerWebService ops = new CustomerService.CustomerWebService())
     {
         label5.Text = "call";
         ops.Url     = textBox3.Text;
         customerSearchParameters sp = new customerSearchParameters();
         sp.clientId      = "IMISTD";
         sp.stockNo       = "910";
         sp.maxResult     = null;
         sp.returnDetails = true;
         customer customer = ops.findClientById(sp);
         label5.Text = customer.name;
     }
 }
Beispiel #3
0
 private void button12_Click(object sender, EventArgs e)
 {
     using (CustomerService.CustomerWebService ops = new CustomerService.CustomerWebService())
     {
         label5.Text = "call";
         ops.Url     = textBox3.Text;
         partySearchParameters sp = new partySearchParameters();
         sp.clientId           = "IMISTD";
         sp.partyId            = "900123"; // "20001"; // "171";
         sp.partyType          = CustomerService.partyType.SU;
         sp.partyTypeSpecified = true;
         sp.maxResult          = null;
         sp.returnDetails      = true;
         customer customer = ops.findPartyById(sp);
         label5.Text = customer.name;
     }
 }