Quantcast
Viewing all articles
Browse latest Browse all 3131

Anonymous access via XSJS service

Hi,

 

I am facing an issue while trying to access HANA DB via an xsjs service.

 

.xsacess file has:

 

{

"exposed" : true,

"default_file": "getData.xsjs",

"authentication": null,

"anonymous_connection": "<TrialUserID>.kirandb.imp::AdminConn"

}

 

AdminConn.xssql.cc

{

"description" : "Admin SQL connection"

}

 

And in XSJS, I am trying to access db to call a stored proc:

 

Image may be NSFW.
Clik here to view.
6-29-2015 6-24-11 PM.jpg

 

 

But I get an error on db.getConnection:



error(db.getConnection): 2 - could not create db connection from sql connection configuration <user>trial.kirandb.imp::AdminConn, username not set


Where am I going wrong?

 

Thanks, Kiran


Viewing all articles
Browse latest Browse all 3131

Trending Articles