Board index » delphi » TRemoteable and inheritance bug?
Matthew
Delphi Developer |
TRemoteable and inheritance bug?2005-10-19 10:59:04 PM delphi223 I am using Delphi 6 with all the service packs installed. I am having a problem importing the wsdl from any parameter object that does not directly inherit from the TRemoteable object. It appears if an object descends from an object that descends from tremoteable then all the published properties from the ancestor are lost Here is an example: TPerson = Class(TRemoteable) published property Name : string read FName write FName ; property Address: string read FAddress write FAddress; end; TProfessional = class(TPerson) published property profession: string read FProfession write FProfession; end; When I import the web service that uses TProfessional the object descends from TRemotable which is incorrect and therefore does not see any of the TPerson published properties. Am I doing something wrong or is there a work around? Thanks, Matthew |