einstein2_THAILAND Posted December 25, 2006 Share Posted December 25, 2006 I have 2 php filesoapserver.php[code]<?php function plus($num1,$num2){ return $num1+$num2; } $server= new SoapServer("plus.wsdl"); $server->addFunction("plus"); $server->handle();?>[/code]soapcall.php[code]<?php $client= new SoapClient("plus.wsdl"); print($client->plus(5,6));?>[/code]I has been test file soapcall.php but it output like this[code]Fatal error: Class 'SoapClient' not found in D:\Web_ae\wamp\www\webservice\soapcall.php on line 2[/code]what does it mean? Link to comment https://forums.phpfreaks.com/topic/31793-problem-with-webservice/ Share on other sites More sharing options...
steelmanronald06 Posted December 25, 2006 Share Posted December 25, 2006 Meaning you forgot to include something from soapclient. Consult the Soap guide...i assume that this is a type of php software (a framework, isn't it?) Link to comment https://forums.phpfreaks.com/topic/31793-problem-with-webservice/#findComment-147439 Share on other sites More sharing options...
einstein2_THAILAND Posted December 25, 2006 Author Share Posted December 25, 2006 [quote author=steelmanronald06 link=topic=119850.msg491222#msg491222 date=1167012773]Meaning you forgot to include something from soapclient. Consult the Soap guide...i assume that this is a type of php software (a framework, isn't it?)[/quote]I really don't use any framework.what I should do with php.ini.now I has been open extension=php_soap.dll on my php.ini but it's still problem. Link to comment https://forums.phpfreaks.com/topic/31793-problem-with-webservice/#findComment-147440 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.