Check the AiravataAPI inv in servlet

Do not merge this check the servlet