My first post ever here, much of a nubie with Drupal.
I have working installation of Drupal 4.6 running on a Mandrake 10.1 box, with PHP v4.1.2, I have also installed PEAR:SOAP so that I can attach to web services through modules in Drupal site. I have tested that SOAP is working by creating the web service client in a separate PHP file and running that. So I am not looking for help with how to write a web service. I am wondering why when I include my web service function, into a module to display it as a page, it does not load anything new to the page. The first question I really have, I guess, is how do I create a web service module in Druapl. To this end I have checked the googleAPI discussion and do not see from that how my module is any different.
Can anyone think of what I need to do? Do I need to edit the .htaccess file and add more than the line:
php_value include_path ".:usr/lib/php:usr/share/pear"
or is it something else that need to do?
Comments
Think I found the answer
There appears to be an issue with Drupal 4.6 working with pear:SOAP v 0.9. A coworker got the googleAPI block working with v 0.8.1.
Found the answer. Increase the maximum amount of memory that PHP can obtain. If that does not help then change from pear:SOAP v0.9 to pear:SOAP v0.8.1
Just a marker for my own
Just a marker for my own interests.
Sorry
PHP 5
I know this is an old thread, but just in case anyone else stumbles upon it, PHP 5 has SOAP support in core. PEAR is no longer required.