Edit report at http://bugs.php.net/bug.php?id=52387&edit=1
ID: 52387
Comment by: ehalls at gmail dot com
Reported by: ehalls at gmail dot com
Summary: Add straight to class definitons __getTypes output
Status: Open
Type: Feature/Change Request
Package: SOAP related
Operating System: Linux
PHP Version: 5.3.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-07-22 11:25:51] ehalls at gmail dot com
Thank you for doing this {aharvey AT php dot net}.
------------------------------------------------------------------------
[2010-07-22 05:05:46] [email protected]
OK, now the bug tracker's fixed, here's the problem copy/pasted from
Pastebin:
Hi,
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
excerpt:
<xs:complexType name="BMUpdateButtonResponseType">
<xs:complexContent>
<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.
Thanks
------------------------------------------------------------------------
[2010-07-21 13:32:24] ehalls at gmail dot com
Description:
------------
To see the feature description go to the following link:
&#13;&#10;&#13;&#10;http://pastebin.org/410682&#13;&#10;&#13;&#10;I
link to this page rather than type the description here because your
parser keeps mangling it up.&#13;&#10;&#13;&#10;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52387&edit=1