John Coggeshall wrote:
object and maintain that WSDL alongside code changes manually? WSDL documents were designed to be generated automatically by the architecture exposing the web service, and without any notion of typing in PHP at all there is no viable way to really do this.
Don't forget about the use of in-code documentation to extract type information. I wrote an xml-rpc implementation that relies on reflection and a very small documentation parser to validate incoming signatures. Davey Shafik took some of his own code and the same ideas to write a WSDL generator for his Cerebral Cortex project.
The best thing internals could do for WSDL is to add a documentation lexer to reflection, but I would be surprised if this happens - too complicated unless it's really crude :)
Greg
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php