PHP Web Service?

software development

#1

Can I write a web service in PHP to run on DreamHost? When I try to write a SOAP-based service, I get “Class SoapClient not found”, and when I try to write and xmlrpc-based service, I get Call to undefined function xmlrpc_server_create().
Am I doing something wrong? Or is this not enabled on DreamHost?

TIA!


#2

Which Web Services framework are you using in PHP?

Parenthetically, have you considering using REST instead?

Free unique IP and $67 off with promo code [color=#CC0000]LMIP67[/color] or use [color=#CC0000]LM97[/color] for $97 off. Click for more promo code discounts


#3

Thanks for responding!
I am a major newbie to web service programming.
By “framework” I presume you mean SOAP or xmlrpc?
I’ve tried both, with the results I posted.

I’ve been working with the code at http://www.onlamp.com/pub/a/php/2007/07/26/php-web-services.html