Hi Simon,

Thanks for the reply.  I tried populating as you recommended with the
same result.  Forgive my ignorance, is their an easy way to dump the
contents of the SDO object to see it's contents?



> -----Original Message-----
> From: phpsoa@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Sent: May 8, 2007 5:59 AM
> To: phpsoa
> Subject: [phpsoa] Re: Representing Associative Arrays in SCA Result
> Hi Mike
> It's possible that the way that the SDO is being populated is causing
> problems here. I tend to create each layer in the complex type
> hierarchy separately. So, for example, the code would look something
> like...
>         // create the top level object
>         $restorations = SCA::createDataObject('http://restorations',
> 'restorations');
>         // create the first child, automatically adding it into
> $restorations
>         $restoration = $restorations->createDataObject('restoration');
>         $restoration['id'] = 1;
>         $restoration['description'] = 'test';
>         // create the first child, automatically adding it into
> $restorations
>         $restoration = $restorations->createDataObject('restoration');
>         $restoration['id'] = 201;
>         $restoration['description'] = 'test 2';
>         return $restorations;
> Having said this it's not clear why you result was completely empty as
> I maybe would have expected at least the top level object to be
> transmitted. Not sure, maybe an SDO error is preventing it. When I get
> a little time later I'll give this sample a spin and see if it works
> for me. Just though I would post this now in case it helps.
> Regards
> Simon
> E-mail messages may contain viruses, worms, or other malicious code. By 
> reading the message and opening any attachments, the recipient accepts full 
> responsibility for taking protective action against such code. Henry Schein 
> is not liable for any loss or damage arising from this message.

The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee(s). Access to this e-mail by anyone else 
is unauthorized.

You received this message because you are subscribed to the Google Groups 
"phpsoa" group.
To post to this group, send email to phpsoa@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to