Skip to Content
0

unable to access secure rest service

Aug 02, 2017 at 08:52 PM

47

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

René Ullrich Aug 03, 2017 at 06:05 AM
0

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)

Share
10 |10000 characters needed characters left characters exceeded