Inheritance problem - An easy one i hope!

lonf

Member
Joined
May 12, 2003
Messages
7
Hi,
heres what im trying todo:

Ive got a webserivce that returns an object model (ill call it object A).
On the client side (PDA) i want to be able to keep this object model and serialize it to disk (and call other methods on it that arent in the returned model).

So what i thought id do is create object B that inherits from object A. So when the webservice returns object A it can be placed into object B, and i can serialize it and call extra methods on it..
This doesnt work.. tried ctypes and all sorts..

So i tried having a local reference to object A on the client and tried putting the returned Object from the webservice into it.. but that doesnt work (as they are different types, ones the webservice proxy and the others the actual object)..

So i tried keeping the object that gets returned from the webservice and serializing that.. But that doesnt work because the autogen code for the ws proxy isnt serailizable...

Any ideas?? im sure this must be possible..

rgds
chris
 
Back
Top