Hello Kumar,
I'm wondering why you get a "forbidden" error in case you exchange the table by the analytical view. I would expect a "insufficient authorization" error message in case you have for example no select privileges on the view. Maybe you share some more information regarding that point.
Regarding your second point. You have created application privileges and add the Execute and Admin privilege to the .xsaccess file. That means that a user - who wants to consume the application (or parts of it) - has to have one of that application privilege. Did you assign the application privileges(s) to the user (either via role or directly)?
By the way. In the OData service definition, you used the runtime object of the analytical view. You should use the design time object, to get an automatic update of the OData Service in case you change the analytical view.
Best Regards,
Florian