|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38700 __getTypes never returns / times out
Submitted: 2006-09-03 15:09 UTC Modified: 2006-09-04 13:56 UTC
From: chmt at gmx dot net Assigned: dmitry
Status: Closed Package: SOAP related
PHP Version: 5.1.6 OS: Windows 2003 server
Private report: No CVE-ID:
 [2006-09-03 15:09 UTC] chmt at gmx dot net
My wsdl based SoapClient times out or never returns whenever I call __getTypes.

The WSDL can be obtained from here:

Reproduce code:
function createWSDLUrl($url) {
  return 'http://'.$url.'?wsdl';

$client = new SoapClient(createWSDLUrl($url),
 	                "connection_timeout" => 5,


Expected result:
My types

Actual result:
Noting. It times out or never returns, and I waited for more than an hour :-/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-04 08:34 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-09-04 10:00 UTC] chmt at gmx dot net
Makes no difference. Still times out.
 [2006-09-04 10:56 UTC]
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">
    <extension base="playout:PlayItem">

instead of

  <complexType name="Play">
    <extension base="PlayItem">

 [2006-09-04 13:56 UTC] chmt at gmx dot net
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)...
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 18:01:32 2015 UTC