cancel
Showing results for 
Search instead for 
Did you mean: 

XS Engine on AWS, how to connect?

RonaldKonijnenb
Contributor
0 Kudos

Hi guys,

Based on Thomas Jung his excellent YouTube tutorials I managed to create a ODATA service. However when I tried to test it in the browser I cannot seem to connect.

I used the following URL:

http://xxxxxx:8000/ALERTER/Services/sales.xsodata

xxxxx being my Amazon eleastic IP

ALERTER being my project, Services a folder and sales.xsodata my service.

Anything I need to do on the amazon security groups side (port 8000?)?

Accepted Solutions (1)

Accepted Solutions (1)

RonaldKonijnenb
Contributor
0 Kudos

That fixed it, but new issue... cannot seems to get the URL correct to test my service.

URL:

http://xxxxxxxxx:8000/alerter/services/sales.xsodata

alerter being my package

services a folder

sales.xsodata my service

All seems ok:

but error 404

Any ideas?

Former Member
0 Kudos

Start with the package hierarchy - http://xxxxxxxxx:8000/ path/to/alerter/services/sales.xsodata

RonaldKonijnenb
Contributor
0 Kudos

Package hierarchy? Not following you

RonaldKonijnenb
Contributor
0 Kudos

Trial(ed) and error(ed) for a while. I must overlook something simple, but I dont see it.

Former Member
0 Kudos

I meant the package(s) on the HANA server. Can you attach a screen shot of the 3rd tab (Navigator) in your dev perspective?

RonaldKonijnenb
Contributor
0 Kudos

Here ya go!

Former Member
0 Kudos

Ok, so your IRL looks correct. But I don't see the .xsapp and .xsaccess files in your project...

RonaldKonijnenb
Contributor
0 Kudos

Sigh. Following the tutorial. Nothing fancy.

Tx for helping! I give up 😉

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I agree with Juergen, you don't seem to have an .xsapp or .xsaccess access file in the root of your project.  These are necesarily for any XS application and are covered in the video tutorials as well.  However becuase they are pre-requisite for all project types, they are covered in their own tutorial:

RonaldKonijnenb
Contributor
0 Kudos

Thanks Thomas, appreciated!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

To get it working I added port 8000 to the security group. remember to use both the add rule and apply buttons.

After that I get the xsengine is up and running at http://xxxxxx:8000

Jan

Former Member
0 Kudos

Hi,

I am also getting the same problem. how to add the port number in AWS security group?

Thanks,

Ajay