Remote call to REST service in inventory details/view.jsp