public string cekLogin(string user, string pass) { string hasil = null; var ws = new inkaber.inkaberWS(); hasil = ws.login(user, pass); return(hasil); }
public string invokeProd(string user, string pass, string file) { string hasil = null; string str = File.ReadAllText(file); var ws = new inkaber.inkaberWS(); try { hasil = ws.process("adminkomdn", "ediimdn", "produksi", str); } catch { hasil = "failed|Koneksi Gagal"; } return(hasil); }