开发者

Using PEAR::Soap on PHP v5.3

开发者 https://www.devze.com 2023-02-07 17:36 出处:网络
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 tri

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消