PHP SoapClient failed to load WSDL because of their disabled metadata

In the current backend code (PHP), the SoapClient is used to call the web service successfully for long time, but since this web service was recently changed by the other team to disable their metadata for security purpose, it impacts our backend code – SoapClient failed when loading the WSDL. We cannot see any exceptions in logs, just blank when running the PHP application.

Backend in PHP:

class WebService {
var $service;

function __construct() {
    echo 'before createService ';
    $this->createService();
    echo 'after createService ';
}

function createService() {
    echo 'before soapclient ';
    try 
    {
        $this->service = new SoapClient("http://XXXX.svc?wsdl",
           array("trace" => 1,"exceptions"=>0));
        
    } catch (SoapFault $exception) {
                
        echo $exception->getMessage();
    }
    echo 'after soapclient ';
 }
.
.
.
}

Run the application on Chrome. See the logs as below. No exception logs.

enter image description here

The real issue is that the SoapClient failed to load the WSDL because of their metadata disabled. No access to this service.

enter image description here

The team confirmed that this service doesnt involve any Authentication type but involves with TLS stuff.

My question is :

Is there any way to communicate PHP SOAP using TLS ? I’ve googled a lot but could not find any solution yet. Im looking for guideline like step by step and code sample.

Any suggestion?