|  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 (profile)
Status: Closed Package: SOAP related
PHP Version: 5.1.6 OS: Windows 2003 server
Private report: No CVE-ID: None
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 14:01:30 2024 UTC