vendredi 24 février 2017

SOAP-ERROR: Parsing WSDL: Couldn't load - Can cURL and run SoapClient from home directory

Getting an error connecting to my soap server from my web directory.

$params = [
    'encoding' => 'UTF-8',
    'soap_version' => 'SOAP_1_3',
    'trace' => false,
    'exceptions' => true,
    "connection_timeout" => 180,
    'cache_wsdl' => WSDL_CACHE_NONE
];
$this->soap = new SoapClient(env('SOAP_URL'), $params);

Returns the error

SOAP-ERROR: Parsing WSDL: Couldn't load.

If I cURL that Soap Wsdl from the same directory I get the intended response. As well if I initiate a soap client with the same parameters from my home directory it returns the appropriate response.

This same code works on my Dev Server.

Any suggestions?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2msEGTB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire