Hi everyone,
I have a class called Request and a whole bunch of inherited classes,
for example RequestEntity. And I have a WebMethod Execute which takes
the Request class as an argument:
public class Request {...}
public class RequestEntity:Request {...}
[WebMethod]
public void Execute(Request) {}
My goal would be, that I can pass any of the inherited classes to the
Execute WebMethod, which should work since they are inhereted from
Request.
But the Problem is that at the client side I just can see the Request
class and not the inherited ones like RequestEntity.
So my question is, if there is a way to force the webservice to supply
the client also with the definitions of all the inherited classes?
Thank you very much for your help!
Martin