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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"phpsoa" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---