Skip to content
Browse files

Bug #18492 Wrong response when returning multiple results

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@322280 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent b595f41 commit 0ce461335399414fdaa4bf5a23be98a25e7cf9f1 @CloCkWeRX CloCkWeRX committed Jan 14, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 Server.php
View
9 Server.php
@@ -598,8 +598,13 @@ function verifyMethod($request)
if (method_exists($this->soapobject, '__dispatch')) {
$map = $this->soapobject->__dispatch($this->methodname);
} elseif (method_exists($this->soapobject, $this->methodname)) {
- /* No map, all public functions are SOAP functions. */
- return true;
+ if (isset($this->soapobject->__dispatch_map[$this->methodname])) {
+ // pdp - 2011-04-29 - declared output will be copied to return_type and use in buildResult
+ $map = $this->soapobject->__dispatch_map[$this->methodname];
+ } else {
+ /* No map, all public functions are SOAP functions. */
+ return true;
+ }
}
}
if (!$map) {

0 comments on commit 0ce4613

Please sign in to comment.
Something went wrong with that request. Please try again.