Webservice problem with https

For questions and postings not covered by the other forums
bdoolan
Posts: 19
Joined: Fri Aug 14, 2009 7:26 pm

Webservice problem with https

Postby bdoolan » Tue Apr 10, 2012 9:10 pm

Hi,
I'm having a problem with a very simple webservice using https rather than http. I have the following:

1. A class TestWS, which is a direct subclass of JadeWebServiceConsumer and has no methods or properties defined or re-implemented on it.

2. A JadeScript with the following code:

Code: Select all

vars webService : TestWS; outputMsg : String; begin create webService transient; webService.setEndpointURL( <URL> ); outputMsg := webService.invoke( "" ); epilog delete webService; end;
If <URL> is of the form http://.... it works fine and the response from the <URL> is saved in outputMsg.

However, if <URL> is https://.... I get a JadeSOAPException 11052 "The service returned a fault message, HTTP Error 31011" when the webService::invoke method is called.

Note, I am running Jade 6.3.5 on Linux (CentOS 5) configured as a singleUser appserver. I tried it on my desktop (Windows XP) as single user and it worked for both http and https.

I also tried setting ini file options in the JadeAppServer section

SSLCertificateAuthorityPaths=/etc/pki/tls/certs/
SSLCertificateAuthorityFile=ca-bundle.crt

but to no avail. Seemed a long shot anyway. I know that /etc/pki/tls/certs/ca-bundle.crt has the Root CA Certificates since wget works with an https URL when the ca-bundle.crt file is present and fails when the file is absent.

Can anyone help with this?

Thanks in advance.

Brendan

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest

cron