//Added by Manjot on 08/Aug/2017 public ActionResult GetXMLPath(string FileName, int RecordID) { Ctx ct = Session["ctx"] as Ctx; DBXml _obj = new DBXml(); return(Json(JsonConvert.SerializeObject(_obj.CreateJDBCDataSourceXml(ct, FileName, RecordID)), JsonRequestBehavior.AllowGet)); }