Multi-part responses with ext/SOAP
| From: | Scott Balmos | Date: | Thu, 07 Apr 2005 02:10:16 +0000 |
| Subject: | Multi-part responses with ext/SOAP | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1829@lists.php.net to get a copy of this message | ||
Hi all,
I'm having trouble returning multi-part responses with ext/SOAP. See URLs below for code & WSDL.
http://members.simunex.com/sbalmos/test.wsdl
http://members.simunex.com/sbalmos/testServer.phps
http://members.simunex.com/sbalmos/testClient.phps
As you can see from running testClient.php, all I get back is string[5] => "Array". Also, the Apache logs indicate a PHP notice, screaming about an array to string conversion on the return statement in testServer.php. So apparently/obviously, it's a problem with how my WSDL file is written.
I even tried putting the separate parts as <part> elements in the <message> definition, before moving it out to a complexType, with no change in operation. Same with casting the array to an object in the server's return statement. That just changes the warning to an object-to-string conversion error.
Ideas? This has to be something easy. But WSDL writing is new territory for me. TIA!
--
Scott Balmos
scott.balmos@utoledo.edu