Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to enable HTTPS authentication in java client to consume IoT web services


I just created a HTTPS GET json web service from IOT in HCP$format=…

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,



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



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question