Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to use XSO Data service without User Authentication ?

$
0
0

Hi ,

 

As I am facing some issue with XSO Data service.

 

I was trying to access XSO data Service with out credentials but it is throwing an error.

 

"NetworkError: 500 Internal Server Error - http://uvo1p0griu4lkb34rnd.vm.cld.sr:8000/xsohixpoc/services/stock_service.xsodata/stockservice_poc/?$format=json&$filter=STOCK%20eq%20%27AMRB%27%20and%20EXCHANGE%20eq%20%27NASDAQ%27"



If I am using this URL http://uvo1p0griu4lkb34rnd.vm.cld.sr:8000/xsohixpoc/services/stock_service.xsodata then there is no issue.


when trying to get JSON value out of my XSO data Service<http://uvo1p0griu4lkb34rnd.vm.cld.sr:8000/xsohixpoc/services/stock_service.xsodata/stockservice_poc/?$format=json&$filter=STOCK%20eq%20%27AMRB%27%20and%20EXCHANGE%20eq%20%27NASDAQ%27> then after getting "NetworkError: 500 Internal Server Error .


These are the files which is using by my application.


.xsaccess file content


{

"anonymous_connection": "xsohixpoc::anonuser",

"exposed":true,

"authentication":null

}

 

anonuser.xssqlcc

 

{

 

  "description" : "Anon SQL connection"

 

}

.xsodata

 

service namespace "stock.data.poc"{

"_SYS_BIC"."rahultest/ATT_HIST_STOCK" as "stockservice_poc"

       key generate local "ID"

       aggregates always (MAX of "PRICEHIGH");

}

 

If I am doing something wrong please help me out .


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>