[SOAP] SOAP_SINGLE_ELEMENT_ARRAYS doesn't work

From: Date: Fri, 27 Nov 2009 10:12:34 +0000
Subject: [SOAP] SOAP_SINGLE_ELEMENT_ARRAYS doesn't work
Groups: php.soap 
Request: Send a blank email to php-soap+get-3016@lists.php.net to get a copy of this message
Hi! I am kind-a new to this whole SOAP world, but my boss wants a SOAP (WSDL) webservice, so I am going to learn it. I have a problem tho, my SOAPServer returns an array of ComplexType's. So far so good. It even works! One problem, PHP returns a object in stead of the array when there is only one element in the array. I searched on Google and found the following bug: http://bugs.php.net/bug.php?id=36226 That's exactly my problem! So I tried that feature SOAP_SINGLE_ELEMENT_ARRAYS, didn't work. I searched again; found: http://bugs.php.net/bug.php?id=47492 No news on that page yet (except for my reply). Is this a known issue? or some work-around available? Help would be very appreciated... Regards! -- View this message in context: http://old.nabble.com/SOAP_SINGLE_ELEMENT_ARRAYS-doesn%27t-work-tp26540308p26540308.html Sent from the Php - Soap mailing list archive at Nabble.com.

« previous php.soap (#3016) next »