on 07-10-2015 2:10 PM
Hello,
I just created a HTTPS GET json web service from IOT in HCP https://s9hanaxs.hanatrial.ondemand.com/d062610trial/ibeaconrui/iotservice.xsodata/T_IOT_02FC2D4FE09...
and need to consume it to retrieve the data in a Java client, but really don't know how to handle the SSL certificate and authentication, could anyone please help here?
Many Thanks!
Best regards,
Ruixing
Hello Ruixing,
it depends what Java API you use to process HTTP requests/responses. Your XS OData service is protected with FORM based authentication I suppose. So, if you would choose Apache HTTP, then please have a look on the example "Form based logon" by the following link https://hc.apache.org/httpcomponents-client-ga/examples.html
Regards,
Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.