-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extensions are not generated as classes that extend another class #372
Comments
Ext-soap does not provide that information: This issue has been reported a few times: #311, #291, #156, #144 ... The solution is by adding a manual configuration that points out which classes need to extend from which classes by using the extend assembler: Until we have a better way of getting the data back from the WSDL, there is no simple solution for this. |
(Reopened this one in order to add a documentation to the known limitations page) |
Hi @veewee , Thank you for the quick response! |
Hello, We noticed this issue got reported many times and want to tackle it at its core! In case you want this feature as badly as us: find out how you can support this project here 💚! |
Closing this one - will be dealt with in #464 |
Bug Report
Summary
When a named type should extend another named-type, the generated php class does not extend.
Current behavior
When you have a WSDL as below, the generated class
EntityTypeGetAllResult
does not extend thePvApiResult
class.This generates the
EntityTypeGetAllResult
class, that does extend nothing.An example of how the currently generated code can be found below:
How to reproduce
https://api.perfectview.nl/perfectview.asmx?WSDL
Use this WSDL to generate types with the
soap-client generate:types
command.My configuration is just as it was simply generated with the wizard:
Expected behavior
When you have a WSDL as below, the generated class
EntityTypeGetAllResult
should extend thePvApiResult
class.This should generates the
EntityTypeGetAllResult
class, that does extend thePvApiResult
class.An example of how the generated code shold be can be found below:
The text was updated successfully, but these errors were encountered: