sap - xsodata service without authentication -


i trying create xsodata services using sap hana xs engine. have created .xsaccess file @ global folder level has following content:

{     "exposed": true,     "authentication" : null } 

i have services folder inside parent folder have created test service. content of service is

service namespace "example.services" {     "testuser1"."testdb" "testdb"; } 

but when hit url: /example/services/example.xsodata/testdb 403 error. verify if .xsaccess if working fine, created dummy html file in same folder example.xsodata service. if hit link, works fine , not ask me authentication.

to extend further, added .xsaccess file in services folder , added same content mentioned above. still gives 403 error example.xsodata service. try further, made services/.xsaccess have content

{     "exposed": true,     "authentication" : [{"method":"basic"}] } 

this prompted me username/password , when entered values, showed me correct data expected.

i utterly confused here because want make services without authentication (for set authentication null) , not working.

please me understand missing here. appreciable.

answering own question. please follow link sap community network answer: http://scn.sap.com/thread/3496997


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -