Error setting up SOAP connection


(Clementoke) #1

Hi all,

I'm having problems setting up my first SOAP connection. After filling in the details I get 

 

Fatal error: Class 'SoapClient' not found in /home/websites/squiz_matrix/packages/web_services/api/lib/soap_common.inc on line 499

I can't view my details screen of the connector without this error showing up. Any ideas?

Thanks,

Clement soap error.JPG (22.7 KB)


(Nic Hubbard) #2

Is the php-soap package installed?


(Clementoke) #3

Not sure Nic. It's on the installation you helped me with. Do you know where I can find this out?


(Nic Hubbard) #4

You would likely just run apt-get install php-soap in the shell and it would install it for you, or tell you it is already installed.


(Clementoke) #5

OK I'll give it a shot. Would that be in the root folder or the user folder?


(Clementoke) #6

I got 'command not found' Does anyone know where the php.ini file lives?


(Nic Hubbard) #7

I can't remember what flavor of linux you are running on. Does it work you run "locate php.ini"?


(Clementoke) #8

PHP.ini file was fine but soap extension wasn't there so I had to add the line

extension=soap.so

That didn't fix it so I had to install soap as well

yum install php-soap

All is now well with the universe.

... until the next time


(Nic Hubbard) #9

Glad you got it working!


(Clementoke) #10

I'm going to have to start a new thread. Trying to connect and getting

 Fatal error: Call to a member function asXML() on a non-object in /path/data_source_soap.inc on line 478