Calling a SOAP server

Hi All,

I’m using Nettalk Desktop 14.30 to call a SOAP server from my Clarion application. Everything worked fine until yesterday. However, a new certificate has been installed on the server. The old certificate was of the type “Sectigo RSA Domain Validation Secure Server CA” (which works), while the new certificate is also of the type “Sectigo RSA Domain Validation Secure Server CA” (but does not work).

I receive nothing back from the SOAP server call—no response, no error message, nothing. The application becomes unresponsive.

I have tried various options, such as cSoap.SSLMethod and cSoap.SSL.

Does anyone have any idea what might be going on here?

Regards,
Henk

My Clarion code:

IF ~XML:CreateXMLString('1.0','UTF-8',False)                        ! Create SOAP envolpe
  XML:CreateAttribute('xmlns:soap','http://schemas.xmlsoap.org/soap/envelope/')
  XML:CreateAttribute('xmlns:xsi','http://www.w3.org/1999/XMLSchema-instance')
  XML:CreateAttribute('xmlns:xsd','http://www.w3.org/1999/XMLSchema')
  XML:CreateParent('soap:Envelope')
  XML:AddParent()
  XML:CreateParent('soap:Body') 
  XML:AddParent()
  XML:CloseParent()
  XML:CloseParent()
  PostString = XML:CloseXMLString()
  cSoap.CanUseProxy = 1                                             ! Can use a proxy
  cSoap.HeaderOnly = 0                                              ! We want the whole page  
  cSoap.AsyncOpenUse = 1                                            ! Use AsyncOpen 12 seconds (recommended)
  cSoap.AsyncOpenTimeOut = 1200                                     ! Up to 12 seconds to connect
  cSoap.InActiveTimeout = 9000                                      ! Set IdleTimeout 90 seconds
  cSoap.ConnectionKeepAlive = 0
  cSoap.ContentType = 'text/xml; charset=utf-8'
  cSoap.ContentLength = LEN(Clip(PostString))
  cSoap.customheader = 'SOAPAction: "urn:'&CLIP(B2B:Service)&'/ServerCheck"'
END
SETCURSOR(Cursor:Wait)
PacketSent = PostString
cSoap.Post(CLIP(B2B:Server),CLIP(PostString))

You may need to confirm your new certificate has been installed properly with the addition Section extended certificates that ships along with Sectigo pack.

HTH

Tuz

Make sure you are shipping the current CAROOT.PEM file into your application directory on the client side.

It sounds like you are naybe using an old one.

Thank you Bruce,

I was using the caroot.pem from july 2023. I just updateto the lastest version and it’s working now.

Regards,
Henk