My web service has a webmethod whose return type is declared as an
interface type, for example:
[WebMethod()]
public IBusinessProces s GetBusinessProc ess() {}
which generates the lovely error:
Cannot serialize interface IBusinessProces s
The returned object (which implements IBusinessProces s), however, is
marked Serializable; but I gather that doesn't matter and that this is
some limitation in web services (because of marshalling)?
Please let me know what's up here. Thanks in advance.
-NS
interface type, for example:
[WebMethod()]
public IBusinessProces s GetBusinessProc ess() {}
which generates the lovely error:
Cannot serialize interface IBusinessProces s
The returned object (which implements IBusinessProces s), however, is
marked Serializable; but I gather that doesn't matter and that this is
some limitation in web services (because of marshalling)?
Please let me know what's up here. Thanks in advance.
-NS
Comment