Home » Web Services » SOAP » Bug #6547
WSDL Client Error
Details
| Submitted | 2006-01-21 17:41 UTC |
|---|---|
| From | pear at richardowright dot com |
| Assigned | yunosh |
| Status | Bogus |
| Package | SOAP |
| PHP Version | Irrelevant |
| OS | Windows 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";