Setup the classmap for the internal OrderItems class as well. That should work. On 12/16/06, xav <xav@spotk.net> wrote:
Hi list, when i call a webservice wich return a complexe structure , i can define a classmap option to cast the returned object to a defined class. In my case, the returned object contains a collection of other objects that i would like to cast too. But i can't manage it to work. Maybe somebody knows how to do that? my return object is something like: Order ( casted as CustomOrder via classmap) |___ OrderItems ( a collection of items)---------OrderItem ( currently seen as standard class object and i would like to cast it to CustomOrderItem) ---------OrderItem Thanks in advance xavier -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Kevin Barnard "Great Beauty, great strength, and great Riches, are really and truly of no great Use; a right Heart exceeds all." -- Benjamin Franklin