Class 'SoapServer' not found

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yitanpaocai
Forum Newbie
Posts: 1
Joined: Tue Feb 26, 2008 1:35 pm

Class 'SoapServer' not found

Post by yitanpaocai »

The web service is called, the browser shows the following error:
Class 'SoapServer' not found...

Does anyone have any idea on it?

PHP and SOAP are installed/enabled on Apache server.
the message returned by phpinfo() about SOAP is:
Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value soap.wsdl_cache => 1 => 1 soap.wsdl_cache_dir => /tmp => /tmp soap.wsdl_cache_enabled => 1 => 1 soap.wsdl_cache_limit => 5 => 5 soap.wsdl_cache_ttl => 86400 => 86400

It's a web service without WSDL. In php file,

$server = new SoapServer(null,array('uri' => 'aa.bb.com/test.php'));
$server->addClass('add_account');
$server->handle();
Post Reply