Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

abstract and virtual functions and WebServices

0 views
Skip to first unread message

albier

unread,
Oct 14, 2005, 12:22:44 AM10/14/05
to
Hi all,
I have a parent class that has abstract function. The derived class
implements this function. In the code in the derived class (in the function
that implements the abstract function) it calls a method in a webservice. I
always get an error. I tried changing the abstract function to virtual, but I
still get the same error. Please notice that with non-virtual/abstract
functions, the webservice works perfectly fine. Can some one help me on that
one, or try to point out what could be wrong?
Here is the error I'm getting:
System.Web.Services.Protocols.SoapException: Server was unable to process
request.
--> System.NullReferenceException:
Object reference not set to an instance of an object.

Thanks for your help,
Albier


0 new messages