cancel
Showing results for 
Search instead for 
Did you mean: 

unable to access secure rest service

Former Member
0 Kudos

Hi

I am having issue in accessing the secure rest service from powerbuilder 12.5(https)

however http works fine, I have even installed the certificate on my local machine

I am using MSXML object to call rest service.

i tried using setoption method of MSXML object (loo_xmlhttp.setoption(2,"13056"), this setoption method itself creates runtime exception

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If you use MSXML it seems not to be a powerbuilder problem.

What's exactly the problem with the request? (HTTP-Status or OLERuntimeError?)

Try to find out more information about the error (ResponseText, property "description" of OLERuntimeError).

You need to use SetOption only if you want to ignore some problems with certificate like invalid date.

Usage is to subtract the value: loo_xmlhttp.SetOption(2, loo_xmlhttp.GetOption(2) - 13056)