-- Greg Donald <[EMAIL PROTECTED]> wrote
(on Friday, 25 April 2008, 02:25 PM -0500):
> On Wed, Apr 23, 2008 at 3:04 PM, Greg Donald <[EMAIL PROTECTED]> wrote:
> > Is this the part of ZF to use to consume web services?
> >
> >  http://framework.zend.com/manual/en/zend.rest.client.html
> >
> >
> >  I'm trying to work with this:
> >
> >  http://www.webservicex.net/stockquote.asmx/GetQuote?symbol=EBAY
> >
> >
> >  Here's my non-working code:
> >
> >  require_once 'Zend/Rest/Client.php';
> >  $client = new Zend_Rest_Client(
> >  'http://www.webservicex.net/stockquote.asmx' );
> >  $client->symbol = 'EBAY';
> >  $this->view->result = $client->GetQuote();
> 
> 
> Anyone have any insight into this issue?  At least let me know if I'm
> headed in the right direction?

This is a soap service; you should use PHP's SoapClient to access it.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to