ID: 38700
User updated by: chmt at gmx dot net
Reported By: chmt at gmx dot net
Status: Closed
Bug Type: SOAP related
Operating System: Windows 2003 server
PHP Version: 5.1.6
Assigned To: dmitry
New Comment:
Ok, after I changed that I seem to get the types. The WSDL is
(automaticaly) generated by gSOAP and validated just fine. Seems I have
to dig a little bit further into what gsoap does (and why and if it is
correct or not)...
Previous Comments:
------------------------------------------------------------------------
[2006-09-04 10:56:53] [EMAIL PROTECTED]
Fixed in CVS HEAD and PHP_5_2.
However the reason of infinity loop was a bug in WSDL file.
It should contain
<complexType name="Play">
<complexContent>
<extension base="playout:PlayItem">
instead of
<complexType name="Play">
<complexContent>
<extension base="PlayItem">
------------------------------------------------------------------------
[2006-09-04 10:00:10] chmt at gmx dot net
Makes no difference. Still times out.
------------------------------------------------------------------------
[2006-09-04 08:34:42] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-09-03 15:09:15] chmt at gmx dot net
Description:
------------
My wsdl based SoapClient times out or never returns whenever I call
__getTypes.
The WSDL can be obtained from here:
http://media3.hgkz.ch/PlayerRPC.wsdl
Reproduce code:
---------------
function createWSDLUrl($url) {
return 'http://'.$url.'?wsdl';
}
$client = new SoapClient(createWSDLUrl($url),
array("location"=>"http://".$url,
"connection_timeout" => 5,
"uri"=>"urn:Playout");
$client->__getTypes();
Expected result:
----------------
My types
Actual result:
--------------
Noting. It times out or never returns, and I waited for more than an
hour :-/
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38700&edit=1