cvs: pear /SOAP WSDL.php package.xml

From: Date: Sat, 09 Apr 2005 03:19:13 +0000
Subject: cvs: pear /SOAP WSDL.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31067@lists.php.net to get a copy of this message
chagenbu Fri Apr 8 23:19:13 2005 EDT Modified files: /pear/SOAP package.xml WSDL.php Log: - Fix PEAR bug #4074 - overwriting of some arguments in proxy code. http://cvs.php.net/diff.php/pear/SOAP/package.xml?r1=1.54&r2=1.55&ty=u Index: pear/SOAP/package.xml diff -u pear/SOAP/package.xml:1.54 pear/SOAP/package.xml:1.55 --- pear/SOAP/package.xml:1.54 Fri Apr 8 22:51:19 2005 +++ pear/SOAP/package.xml Fri Apr 8 23:19:12 2005 @@ -72,6 +72,8 @@ - Never try to redefine SOAP_Client_Overload. - Fix PEAR bug #4063 - correctly mark NULLs in request XML. + + - Fix PEAR bug #4074 - overwriting of some arguments in proxy code. </notes> <filelist> <dir name="/" baseinstalldir="SOAP"> http://cvs.php.net/diff.php/pear/SOAP/WSDL.php?r1=1.72&r2=1.73&ty=u Index: pear/SOAP/WSDL.php diff -u pear/SOAP/WSDL.php:1.72 pear/SOAP/WSDL.php:1.73 --- pear/SOAP/WSDL.php:1.72 Wed Apr 6 18:39:03 2005 +++ pear/SOAP/WSDL.php Fri Apr 8 23:19:12 2005 @@ -17,7 +17,7 @@ // | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author | // +----------------------------------------------------------------------+ // -// $Id: WSDL.php,v 1.72 2005/04/06 22:39:03 chagenbu Exp $ +// $Id: WSDL.php,v 1.73 2005/04/09 03:19:12 chagenbu Exp $ // require_once 'SOAP/Base.php'; require_once 'SOAP/Fault.php'; @@ -553,7 +553,6 @@ foreach ($operation['input'] as $argname => $argtype) { if ($argname == 'message') { foreach ($this->messages[$argtype] as $_argname => $_argtype) { - $comments = ''; if ($opstyle == 'document' && $use == 'literal' && $_argtype['name'] == 'parameters') { // The type or element refered to is used @@ -576,9 +575,7 @@ $this->_addArg($args, $argarray, $elname); } } - }/* else { - $comments = $this->_complexTypeArg($args, $argarray, $elattrs, $elattrs['name']); - }*/ + } if ($el['complex'] && $argarray) { $wrapname = '{' . $this->namespaces[$_argtype['namespace']].'}' . $el['name']; $comments .= " \${$el['name']} =& new SOAP_Value('$wrapname', false, \$v = array($argarray));\n"; @@ -587,10 +584,10 @@ } else { if (isset($_argtype['element'])) { // Element argument. - $comments = $this->_elementArg($args, $argarray, $_argtype, $_argtype['type']); + $comments .= $this->_elementArg($args, $argarray, $_argtype, $_argtype['type']); } else { // Complex type argument. - $comments = $this->_complexTypeArg($args, $argarray, $_argtype, $_argname); + $comments .= $this->_complexTypeArg($args, $argarray, $_argtype, $_argname); } } }

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