Recommend this page to a friend! |
Classes of WsdlToPhp | PHP SOAP Package Generator | src/Parser/Wsdl/README.md | Download |
|
DownloadThe Wsdl parsersThe key of theses parsers is to do the minimum treatments meaning that we must load the minimum amount of nodes in order to speed it up and to low the memory usage. Neverthless, the goals of these parsers are various:
Knowing this, it is simpler to understand why simpleType are not parsed as parsing them would mean that:
This shows that potentially we would load lots of nodes for nothing if they don't contain anything interesting. We simply do the opposite by:
So, if we load all the documentation nodes that contain textual informations about its container, if documentations are numerous it's good because it means that the Web Service is well documented. On the other hand, if there is no documentation node, then we won't do anything meaning that we won't loose time to parse any node. After all!After all, if you think it is not a good choice to not parse simpleType and so on, please let me know the reasons. |