Skip to Content
avatar image
Former Member

unable to access secure rest service

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 03, 2017 at 06:05 AM

    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)

    Add comment
    10|10000 characters needed characters exceeded