hey everyone,

i'm trying to set up SOAP webservices with the PHP-SOAP module. I'd
like to export an entire controller.. perhaps this is where my logic
is flawed.

What i'm doing right now is importing a component into the controller
(SoapController) i'd like to have made available via SOAP. The
component has this for startup:

        function startup(&$controller) {
                $panda = new SoapServer("/home/as89174/web/
GDSPandaWebServices.wsdl");
                $panda->setClass("controller");
                $panda->handle();
        }

when accessing SoapController via url/soap , from a soap-client, i get
the following error:

SoapFault exception: [SOAP-ENV:Server] Function 'test' doesn't exist

in /home/as89174/experimental/soapclient.php:7
Stack trace:
#0 [internal function]: SoapClient->__call('test', Array)
#1 /home/as89174/experimental/soapclient.php(7): SoapClient->fene()

"test" is an existing method in SoapController. In fact, i can
interact with it from the component's startup method.
Does passing a reference-to-an-object's name instead of an actual
object make the difference? Again, i can perfectly access my
controller from the component's startup().. i just cant seem to export
it to SOAP?

any suggestions are welcome..

thanks!
andrew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to