Zend Soap Server – where are the complex types?

Posted on July 6, 2009


Zend Framework is an excellent platform for php development – but huge and somewhat hard to get the grips on.

The Zend_Soap_Server library is very handy – makes it very quick to create a simple wsdl server – at least as long as you’re dealing with simple input/output types as booleans, integers, strings and arrays. But how to deal with objects/associative arrays?

It doesn’t seem to be possible directly from the Zend_Soap_Server class. Rather, it seems that you have to use the Zend_Soap_Wsdl accessor class. Such a pity..! Not very much info in the Zend documentation either. Experiences, anyone?

Update: SOLUTION! 🙂

This post http://yetanotherprogrammingblog.com/node/12 led me to a solution! Thank you, James Gordon!

Posted in: Zend Framework