You could include the SOAP library as a vendor (place in app/vendors/)
and include the file with something like App::import('vendor', 'SOAP/
Client.php'); - I have not yet used vendors in 1.2 so I'm not sure the
correct syntax, you may want to google up cake vendors a bit or scope
out the manual.
Remember, CakePHP is still just PHP so there's nothing preventing you
from doing a regular old include(), but from what you're asking it
sounds like using vendors is the appropriate solution.
On Jul 16, 6:10 am, kaushik <[EMAIL PROTECTED]> wrote:
> I am new in Cakephp. I want to use soap in cake. I already implemented
> the same in general php coding in this way-
>
> include("SOAP/Client.php");
>
> $WSDL = new SOAP_WSDL('http://test.net/webservice.asmx?WSDL');
> $soapclient = $WSDL->getProxy();
> $soapclient->setOpt('curl', CURLOPT_SSL_VERIFYPEER, 0);
> $soapclient->setOpt('curl', CURLOPT_SSL_VERIFYHOST, 0);
>
> $totalData = $soapclient-
>
> >GetSearchParams('test','test','','','EN','','1');
>
> How to implement it in Cake? Where to place the Soap folder in cake?
>
> Please help me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---