Complex Type representation in PEAR SOAP Server

From: Date: Fri, 20 Feb 2004 12:26:28 +0000
Subject: Complex Type representation in PEAR SOAP Server
Groups: php.soap 
Request: Send a blank email to php-soap+get-1372@lists.php.net to get a copy of this message
Hi, When defining a method in the SOAP Server I see that you can specify your own complex types using the lovely typedef declaration. My scenario is this, I have defined an array of SOAP structs (similar to the MP3 server example). Now my method that handles the request looks like: function methodName (complexParam) { ... } How is complexParam represented in PHP terms, assuming that its SOAP definition has been an array of SOAP structs. Is it a PHP object of type SOAP value, is it a multi-dimensional array? Thanks, Al

« previous php.soap (#1372) next »