Hi All, I'm quite new to Web Services. I've created a Web Serivce with a class like this:
public class ClassA
{
private ClassB _varA;
public ClassB VarA
{
get {
if(_varA == null)
_varA = new ClassB();
return _varA;
}
set { _varA = value; }
}
}
When I try to access the property from a website, it gives me null.
using WebServiceA;
ClassA obj = new ClassA();
obj.VarA // gives me null ?
Am I missing something here? Please help. Thanks.