Introduction:
Assume having a MyApp.MyClass class bearing both data (say, DataSets)
and functionality (proprietary methods).
A WebService exposes this class via some GetMyClass WebMethod.
A WSDL-generated proxy class (localhost.MyClass) on the client side,
naturally, has only the data of the original class "mirrored" (well,
that's reasonable, since the WebServices are there to provide data
objects...).
Now, to the question.
What is the proper pattern to be applied in order for the client to be
able, after receiving a (proxy-side type, localhost.MyClass) object
from GetMyClass WebMethod, to be able to invoke the methods of the
original MyApp.MyClass on that object's data?
Is it something to do with namespaces?
Should I build a library to be put on the client side (in the GAC?)
and referenced from the client object?
Should I create & override (extend) the proxy class by myself, and
provide the client with it (instead of client's generating the proxy
by itself)?
Please advise...