1. Niclas Graufelds
  2. PowerBuilder
  3. Monday, 20 September 2021 15:03 PM UTC

Hi,

I am trying to call a rest service that has a self signed certificate, I am using the RestClient class. Do you know how to configure this to work? Currently I get return code "-3 -- Cannot connect to the Internet" from the call. I am using PowerBuilder 2019 R3 build 2670. REST service is implemented in Java.

Best Regards 
Niclas

Kevin Ridley Accepted Answer Pending Moderation
  1. Tuesday, 21 September 2021 13:33 PM UTC
  2. PowerBuilder
  3. # 1

I've had the most luck with using Postman or SoapUI to consume a new service, then catch the full request and duplicate it with either the RestClient or HTTPClient.  You can also use tools like Fiddler when you have a working request from one of the web service tools.  Web services are all they do, so many times it's better to use another tool just to get it working and then see how they did it, and duplicate that in PB.

 

Kevin

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.