Page 1 of 1

SoapClient class is not found

PostPosted: 09. September 2016 19:53
by josephmo
Code: Select all
<?php

$wsdl = 'https://www.xxxxx';
$client = new SoapClient($wsdl);


Gives me the following error.

Fatal error: Class 'SoapClient' not found in C:\Users\josep\OneDrive\development\test.php on line 4

I tried looking for class SoapClient in my enture \xampp directory, but could not find it. Any ideas?

Re: SoapClient class is not found

PostPosted: 09. September 2016 20:19
by Nobbie
Edit php.ini and "un-uncomment" the line which points to the extension php_soap.dll ("un-uncommenting" simply means removing the semicolon).

Then restart Apache.

Re: SoapClient class is not found

PostPosted: 09. September 2016 21:10
by josephmo
it did not work

Re: SoapClient class is not found

PostPosted: 09. September 2016 21:41
by Nobbie
I have no further idea.