Home  |  Linux  | Mysql  | PHP  | XML
From:nsteen Date:Fri Nov 27 10:12:34 2009
Subject:[SOAP] SOAP_SINGLE_ELEMENT_ARRAYS doesn't work

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.

Navigate in group php.soap at sever news.php.net
Previous Next


Your recent visits



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants