jeudi 3 janvier 2019

SOAP-ERROR: Encoding: object has no 'verify_bool' property

After updating my SSL certificate Letsencrypt on server (Linux Ubuntu), I am getting error "SOAP-ERROR: Encoding: object has no 'verify_bool' property" when sending SOAP request. I am using SoapClient.php in Laravel application. Before updating the certificate it worked fine. My code is here:

$soap_client = new \SoapClient("https://.....?WSDL", array(
                'local_cert' => app_path('Services/my.pem'),
                'passphrase' => 'mypasphrase')
        );

        $auth = $soap_client->AuthenticateUser(array(
            'aName' => '777.SSL.888',
            'aPassword' => 'password'
        ));

        $session_id = $auth->AuthenticateUserResult->SessionID;

    $data = $soap_client->getClientsByKeyFields(array(
            'aSessionID' => $session_id,
                           'aClient' => array(
                'ID' => 0,
                'Natural_Person_Bool' => 1,
                'Class_ID' => 10,
                'Sex_ID' => 0,
                'SETTLEMENT_ID' => 0,
                'DOCUMENT_TYPE_ID' => 0,
                'ACTIVITY_KIND_ID' => 0,
                'RESIDENT_BOOL' => 1,
                'ECONOMICS_SECTOR_ID' => 0,
                'COUNTRY_ID' => 0,
                'IIN' => $iin)
        ));



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire