Take a look at the generated ActionScript classes for Person and Employee?
Does Employee extend Person?
yes, generated Actionscript class Employee extends Person.
Sounds like you have an applicationDomain problem. Is there more than one
SWF in your application? See the modules presentation on my blog for more
info on applicationDomain
Flex SDK Team
Adobe System, Inc.
No, currently there is only one swf in the entire application.there are no modules being used. It is the issue while deserializing the soap response, i have even tried changing the convertResultHandler property of the AbstractWebService where the objectproxy is passed as a function parameter with all the derived class attributes but how do i convert it to an actual userdefined object of the derived class ? how will we come to know which derived class object it is? can we do something using the soap decoder class ?
Sorry, I was thinking of the problem backwards.
The generated classes should contain some information that they use to
register themselves in the schema type registry. That information is what
the soap decoder uses to convert the soap data to these objects. I think if
you modify the Employee type-registry info to be the one for Person then all
Persons will be Employees.