1 Reply Latest reply on Apr 5, 2017 8:13 AM by shawkins

    Odata support with teiid issue

    wickram09

      Hi,

       

      I am accessing the rest service using odata by teiid support and my url is like below--

       

      http://localhost/odata/webservice/Customers.CustomersView/

       

      where webservice is my vdb, Customers is a model and CustomersView is view created.

      Using restEasy client i am getting below errror--

      <html><head><title>Error</title></head><body>Forbidden</body></html>

       

      even though i am using correct credentials.

       

      BUT when i am using query via simpleclient i am able to get the result

      my query for simple client is below--

      mvn exec:java -Dvdb="webservice" -Dsql="select * from Customers.CustomersView" -Dusername="app" -Dpassword="password"

       

       

      Please assist where i am wrong.

       

      Thanks,

      wickram