[Klug-general] php array/soap question

Dan Attwood danattwood at gmail.com
Tue Jul 22 07:45:27 UTC 2014


hi all

I've got a new server set up that contains  two websites. One is a set of
php soap services and the other is a php site that consumes these services.

My soap service is returning an array like:

 $infoReturned = array(
        'studentInfo' => $studentInfo,
        'Course' => $courses,
        'Attendance' => $attendance,
        'TargetGrade' => $targetGrade,
        'Profiler' => $profiler,
        'Quals_on_Entry' => $quals,
}

return $infoReturned;

When I call this is fails to return any xml. If I comment out any two of
the array values then it stops working. I can serialize the returned array
and that works but this is an extra step i'd like to avoid.

I'm seeing any errors in the logs but this looks like it could be a php
setting related to size.

Does anyone have any insights please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20140722/1f176e55/attachment.html>


More information about the Kent mailing list