Skip to Content
avatar image
Former Member

Problem in accessing the web service through https

We have web service written in java that can be successfully invoked through normal http using EasySoap. But having problem invoking through https.

Getting this error.

It is working well with SoapUI through https.

We have PB 11.5 professional and we are testing web services with PowerBuilder 12.5.2 Build 5006 Evaluation software.

Please help.

Thanks,

John

soap-error.png (7.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 31, 2014 at 12:36 PM

    Hi John;

    1) Did you use the .NET versdion of the SOAP Connection class?

    2) Did you set the Client certificate via the SetClientCertificateFile method?

    3) Did you use the SetOptions method to set the UserID and Password?

    4) Did you use the Authentication Mode properly?

    FYI:  http://msdn.microsoft.com/en-us/library/aa833874(VS.80).aspx

    HTH

    Regards ... Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Could you tell me what are the file names and which folder i need to look for.


      The files are libeay32.dll and ssleay32.dll

      You need to search your entire hard drive.  That's the issue.  There are often several on your machine, as the libraries are quite highly used.

  • avatar image
    Former Member
    Dec 31, 2014 at 04:46 AM

    I'm pretty sure that support for HTTPS web services calls is not available in PB Classic.  You may need to use PB.Net and explore its support for WCF web service calls.

    -Paul Horan-

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      No - you don't have to migrate your entire app to PB.Net.

      Former Member has more experience here (and I haven't tried this myself), but I think you can use PB.Net to "wrap" the call to the secure web service, and deploy it as a .Net assembly.  Your PB Classic app would instantiate your PB.Net assembly as a COM-callable wrapper.

      In PB.Net, create a new .Net assembly.  Add an custom non-visual object, and add a WCF client proxy project that invokes your web service. 

      -Paul-