[Klug-general] php array/soap question
Dan Attwood
danattwood at gmail.com
Thu Jul 24 15:41:17 UTC 2014
sloppy cut and pasting on my part that one i'm afraid, good spot though.
It's fine on the actual code.
I've given up trying to 'fix' this and I'm just serializing the returned
array and then unpacking it the other end.
On 24 July 2014 16:38, jwmartnet . <jwm.art.net at gmail.com> wrote:
> On 22 July 2014 08:45, Dan Attwood <danattwood at gmail.com> wrote:
> > 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;
> >
>
> Easily overlooked typo? Curly brace should be bracket? Maybe this
> causes the function to return with nothing before encountering the
> return statement that returns the $infoReturned array? Guess you might
> have spotted that by now... and the error messages in the
> log/output...
>
> James.
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20140724/b0964c23/attachment.html>
More information about the Kent
mailing list