View Single Post
Old 04-03-2008   #3 (permalink)
JIGNESH's Avatar
JIGNESH
Guest


 



Re: Calling methods on DataContracts

We had a concept in Remoting MarshalByRef or MarshalByObject
It sounds to me like MarshalByObject kind of need. ?

Toago, am i thinking correct ?


"Tiago Halm" wrote:
Quote:

> DataContracts are just data, they are not "objects", so there is no behavior
> involved. Only the service exibits functionality served by operations with
> receive and return data.
>
> What is the original funcional or technical requirement in this project?
>
> Tiago Halm
>
> <rajigopal@xxxxxx> wrote in message
> news:1ae65090-b6f9-4518-855c-ac1483f19464@xxxxxx
Quote:

> > Hi,
> >
> > I have this requirement that a web service be used to return an object
> > that the client can call methods on. For e.g:
> >
> > WebServiceClient c = new WebServiceClient();
> > SomeObject o = c.GetObject();
> > o.DoSomething();
> > o.Save();
> >
> > Is this possible with current state of WCF? If so, how?
> >
> > Thanks!
>
>
>