public HttpResponseMessage Test() { //string msg = _aOpdTicketGateway.Save(); string msg = _gtEmployeeGetway.PrintReportHr("EmployeeTest.rpt", "VW_TEST_EMPLOYEE", "", "VW_TEST_EMPLOYEE", "Employee Test Report", "", "V"); //return Json(msg, JsonRequestBehavior.AllowGet); //return ""; return(Request.CreateErrorResponse(HttpStatusCode.OK, msg)); }