#38536 [Opn->Asn]: Returning an array of values instead of an object
| From: | dmitry@php.net | Date: | Tue, 07 Nov 2006 14:49:59 +0000 |
| Subject: | #38536 [Opn->Asn]: Returning an array of values instead of an object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104522@lists.php.net to get a copy of this message | ||
ID: 38536
Updated by: dmitry@php.net
Reported By: sabrina at corp dot grupos dot com dot br
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: FreeBSD 6.1
PHP Version: PHP_5_2 cvs
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2006-11-07 14:06:51] sabrina at corp dot grupos dot com dot br
reopen
------------------------------------------------------------------------
[2006-09-01 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-08-24 08:06:57] tony2001@php.net
We still need a short reproduce script without private services and
fatal errors.
------------------------------------------------------------------------
[2006-08-22 14:43:55] sabrina at corp dot grupos dot com dot br
unfortunately, you cannot execute this code as it is, because the
webservice in question is private and cannot be accessed externarly or
without authentication.
the line:
$return = $SOAPObject->__soapCall('getClientInfoFromDomain',
'sabrina.corp.grupos.com.br');
is incorrect, and should be:
$return = $SOAPObject->__soapCall('getClientInfoFromDomain',
array('sabrina.corp.grupos.com.br'));
but other than that, you could either try to access a webservice that
returns an array of objects or read the
the result dumps of this script for versions 5.1.4 and 5.1.5
(you can check these files
http://intranet.grupos.com.br/~sabrina/phpbug/phpreply515.html
http://intranet.grupos.com.br/~sabrina/phpbug/phpreply514.html
) and see that there is a big difference between both responses.
thank you for your replies.
------------------------------------------------------------------------
[2006-08-22 13:51:31] tony2001@php.net
Notice: Undefined variable: newIp in /tmp/1.php on line 4
Warning: SoapClient::__soapCall() expects parameter 2 to be array,
string given in /tmp/1.php on line 14
Fatal error: SoapClient::__soapCall(): Invalid parameters in /tmp/1.php
on line 14
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38536
--
Edit this bug report at http://bugs.php.net/?id=38536&edit=1