R
RCS
I have a web service. I have a method that returns an instance of another
class. I already learned the hard way that all properties of a returned
object have to be get AND set, even though I don't want the set. Now, when I
create a method in this secondary class, I don't see it on the consumer at
all. It's almost like, if I return an object from a WebMethod - I can't have
any methods. is that correct?
I've tried just about everything I can think of. I've set the [WebMethod]
attribute (even though this class isn't a web server, itself). I've tried
changing return types. I realized that I can't get any method, with any
return type to work in this scenario.
Is this an inside joke that I don't know about? Btw, the web service and
consumer app is 2.0 beta 2.
thanks
class. I already learned the hard way that all properties of a returned
object have to be get AND set, even though I don't want the set. Now, when I
create a method in this secondary class, I don't see it on the consumer at
all. It's almost like, if I return an object from a WebMethod - I can't have
any methods. is that correct?
I've tried just about everything I can think of. I've set the [WebMethod]
attribute (even though this class isn't a web server, itself). I've tried
changing return types. I realized that I can't get any method, with any
return type to work in this scenario.
Is this an inside joke that I don't know about? Btw, the web service and
consumer app is 2.0 beta 2.
thanks