on 04-14-2014 6:42 AM
Hi to all,
I am using hana cloud platform trail version.I have created a Odata service. but when we are trying to consume Odata service from .net based web application it returns hana developer account home page source code.Even I tried passing the credentials as authentication parameters, which is not working as expected.Is it restriction to hana trail version or is there a solution? if so please provide the solution.
Thanking in advance for your valuable inputs.
Regards,
Ravi Teja pampana.
Hello Ravi,
Are you still facing the same issue. if not, then could you provide me the solution as I am also facing similar issues.
Regards,
Shailendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Are you able to execute and see the data in your browser ?
(please clear your browser cache and try )
Sreehari V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sreeehari,
when i am running the Odata service directly in browser i could see the XML data properly if i logon to the scn.sap account. but when i tried to running this service from an application then it shows the hana developer account login page source code and asking to logon to the account.
regards,
Ravi teja pampana
Hello Ravi
Here are some links to enable java authentication hope it helps
SAP HANA Cloud Platform: The void between your Datacenter and the C...
Warm regards
aadi
Hello Ravi Teja
I hope you got the scenario working, if you did i would like to request a couple of tasks from your.
This forum is for sharing knowledge, i would like you to update this thread with the links you found useful and how you went about solving your authentication issue.
And mark this discussion as **answered**.
This will help anyone with the same issue as you to search up this thread and find a solution.
Warm regards
aadi
Hello Ravi,
This is very interesting can you share the .odata file .
Warm regards
aadi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi aadi.
this is my .xsodata file code
service namespace "hihanaxs.services"{
"EPMSAMPLEDATA"."SNWD_BPA_CONTACT" as "Contacts";
}
url that we using in consuming the above odata services
https://s1hanaxs.hanatrial.ondemand.com/s0010858141trial/hihanaxs/hihanaxs/services/contact.xsodata
Hello Ravi,
Like i said earlier, i will get a log on screen, if i log out. the account page and the login page look similar when viewed as HTML code.
Copy the code in an html file and view it in a browser to know exactly what you get.
Depending on what page you see we can proceed with the next step...
Warm regards
aadi
hi aadi,
I think i am not clear in what i want. here is my question.
i want to run this service successfully in browser even if i was logout from the scn.sap account. so, for this i tried to pass my credentials in the service using rest client, but doesn't worked out. so for this issue i am searching for the solution.
regards,
ravi teja pampana
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.