public string cekLoginUoi(string user, string pass) { string hasil = null; var ws = new wsUoi.inkaberWS(); hasil = ws.login(user, pass); return(hasil); }
public string invokeProdUoi(string user, string pass, string file) { string hasil = null; string str = File.ReadAllText(file); var ws = new wsUoi.inkaberWS(); try { hasil = ws.process("adminuoi", "adminuoi1", "produksi", str); } catch { hasil = "failed|Koneksi Gagal"; } return(hasil); }