Hi Guys - doing something a little crazy with PHP - webservices 😃
I don't think the actual problem is SOAP though... on my webservices server I'm using the PEAR DataObject class to get at the content of my tables.
Calling my method which does all the DataObject processing directly works fine. Calling it from a method which is accessed via the SOAP webservice causes a headache. I really can't understand why though as it's just like calling one method from within another.
The error message I'm getting is hard to track to the source - it appears as if it is a DataObject problem, being returned from some sort of SOAP handler.
SOAP-ENV:Server Undefined index: medicalrecord PHP Errno: 8 Filename: /usr/local/lib/php/DB/DataObject.php Lineno: 895 " ["userinfo"]=> string(0) "" ["callback"]=> NULL }
Looking into the PEAR DB/DataObject.php file it appears that the error is caused because the 'options' array is empty.
I'm probably taking a big chance here hoping anybody has had the same problem - but if you've got any experience of DataObjects and/or SOAP from the PEAR collection I'd love to hear any suggestions!!
Thanks in advance.