3
Vote

No data returned when method returns an array of type

description

Tested with PHP SoapServer. If the method returns an array of type (for example string[]), an invalid object is fetched instead of the array. The problem is with SOAPClient._node2object method, and inarray variable introduced in line 234. It looks for type definition in wrong place, since typical server response in "array of type" contains element "return" with "xsi:type" attribute. The patch I'll upload will fix this issue. Tested with returned array of simple and complex types.

comments