cvs: pear /SOAP/example stockquote.php

From: Date: Sun, 18 Aug 2002 20:17:53 +0000
Subject: cvs: pear /SOAP/example stockquote.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5802@lists.php.net to get a copy of this message
shane Sun Aug 18 16:17:53 2002 EDT Modified files: /pear/SOAP/example stockquote.php Log: an example using a generated proxy fix for a test fix in WSDL class for service names with dots in them, and fixes for proxy generation to properly work with comlex types (amazon now works) Index: pear/SOAP/example/stockquote.php diff -u pear/SOAP/example/stockquote.php:1.3 pear/SOAP/example/stockquote.php:1.4 --- pear/SOAP/example/stockquote.php:1.3 Sat Apr 27 13:53:01 2002 +++ pear/SOAP/example/stockquote.php Sun Aug 18 16:17:53 2002 @@ -18,14 +18,15 @@ // | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author | // +----------------------------------------------------------------------+ // -// $Id: stockquote.php,v 1.3 2002/04/27 17:53:01 shane Exp $ +// $Id: stockquote.php,v 1.4 2002/08/18 20:17:53 shane Exp $ // // include soap client class include("SOAP/Client.php"); print "<br>\n<strong>wsdl:</strong>"; -$soapclient = new SOAP_Client("http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl","wsdl"); -print_r($soapclient->call("getQuote",array("symbol"=>"ibm"))); +$wsdl = new SOAP_WSDL("http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl"); +$soapclient = $wsdl->getProxy(); +print_r($soapclient->getQuote("ibm")); print "\n\n"; if (extension_loaded('overload')) {

« previous php.pear.cvs (#5802) next »