Using PEAR::Soap on PHP v5.3
I have had to create a web service in PHP for a system I am b开发者_JS百科usy on. I have got it to work using PEAR::Soap on PHP 5.3, but on the logs it gets spammed with errors and notices. I have tried going through the code and fixing the errors, but each time I fix one set of errors, another set appear.
Is there a version which will run without errors? Or an alternative that is just as easy to use?
Any input will be appreciated.
Have you tried http://www.php.net/manual/en/class.soapserver.php I'd worked with PHP's SoapServer and Client. It works perfectly. Also you can try Zend_Soap. (Built on PHP's Soap)
You shouldn't need to use the one from PEAR -- PHP has had SOAP client and server classes built in since v5.0.1
See http://uk.php.net/soapclient and http://uk.php.net/soapserver
Hope that helps.
精彩评论