Am new in kony. And am trying to connect webservice. Kindly check given below code.
var myhttpheaders={"Content-Type":"application/x-www-form-urlencoded"};`enter code here`
var email = myFrm.textbox212343550452827.text;`enter code here`
var pwd = myFrm.textbox212343550452828.text;`enter code here`
var inputParamTable = { "appID":"NewTestAsync",
"serviceID":"User",
"channel":"rc",
"emailID":email,
"Password":pwd,
httpheaders: myhttpheaders,
httpconfig:{timeout: 600, method: "post"} };
try
{
var connHandle = kony.net.invokeServiceAsync(//sample/middleware/MWServlet),inputParamTable, callbackfunction);
}
catch(err)
{
alert("Error"+err);
}
}
So my kony server is kony.net.invokeServiceAsync(//sample/middleware/MWServlet)throwing error like 1016 cannot connect to host.
Please any one help me for solve this issue.
Thanks&Regards,
Ramesh babu.K