|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52387 Add straight to class definitons __getTypes output
Submitted: 2010-07-21 13:32 UTC Modified: 2010-07-22 05:05 UTC
From: ehalls at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.2 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-07-21 13:32 UTC] ehalls at gmail dot com
To see the feature description go to the following link:

I link to this page rather than type the description here because your parser keeps mangling it up.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-22 05:05 UTC]
OK, now the bug tracker's fixed, here's the problem copy/pasted from


1. I am using the current version of __getTypes to dynamically generate
classes and classmap from a wdsl file. The problem is that the output
of __getTypes does not output some form of notation for base classes.
Even though there are xml tags available that dictate such a link. 

For example, it does not extract 'AbstractResponseType' and display it
as the base class of 'BMUpdateButtonResponseType' from the following

<xs:complexType name="BMUpdateButtonResponseType">
             <xs:extension base="ebl:AbstractResponseType">
2. Wouldn't it be better just to output the type strings in php class
notation and provide a __evalClass('classname') function to load a
particular class as needed for a request?

3. If I am missing some information and this has already been
implemented then please just let me know. 

 [2010-07-22 11:25 UTC] ehalls at gmail dot com
Thank you for doing this {aharvey AT php dot net}.
 [2010-07-22 12:52 UTC] ehalls at gmail dot com
I have already implemented the dynamic class generation from the current output of getTypes. If you like I can work on something for addition to PHP5 soap class? I am not sure how to become a dev so I can extend the base classes with features we could all use.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 21:01:28 2024 UTC