PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » SOAP » Bug #6547

WSDL Client Error

Details

Submitted2006-01-21 17:41 UTC
Frompear at richardowright dot com
Assignedyunosh
StatusBogus
PackageSOAP
PHP VersionIrrelevant
OSWindows XP
Roadmaps(Not assigned)

Comments

[2006-01-21 17:41 UTC] pear at richardowright dot com

Description:
------------
WSDL code has an error at line at line 673 and 680. The code should have a \ before the $result however, it does not.

Test script:
---------------
example/wsdl_client.php will cause an error

Actual result:
--------------
CORRRECTED CODE:
Start at line 672 to line 681
$class .= " function &$opname_php($args)\n {\n$comments$wrappers" .
" \$result = \$this->call('$opname',\n" .
" \$v = $argarray,\n" .
" array('namespace' => '$namespace',\n" .
" 'soapaction' => '$soapaction',\n" .
" 'style' => '$opstyle',\n" .
" 'use' => '$use'" .
($this->trace?",\n 'trace' => 1" : '') . "));\n" .
" return \$result;\n" .
" }\n";