Cor,
I apologize for the delayed response... but yes, I am trying to build
something strange (I never pick the easy ones). Here is the concept:
I have a Web Service, it works very well. Multiple servers connect to
the Web Service, it performs its "special magic" as expected and I am
very happy with the result. Enter the customer who wants to make a
change to the system...
When the Web Service is finished, I need it to pass along an XML file
using HTTP GET/POST and then capture an XML response from the GET/POST
operation. I can make the Web Service GEt/POST without a problem, but
the XMLTextReader I use to capture the response is part of the
System.Web.UI.Page class, and I cannot inherit that class within my Web
Service. Is there an XMLTextReader equivalent for a Web Service? Sample
code? Thanks for your help!
-Elroyskimms
Cor Ligthert wrote:
Elroy,
I was making an answer while I got the idea that you are trying to
build something strange.
What are you trying to build, a webpage that acts as a webservice or
something.
You can not build a horse with a carengine inside by letting a horse
inheriting from cars.
Just my thought
Cor
"Elroyskimms" <el*********@yahoo.com>
.I know that multiple class inheritance is not possible in VB.Net I
also know that I can:
inherit class a
and in class a:
inherit class b
and in class b:
inherit System.Web.UI.Page
and so on and so forth, thus allowing me to effectively "inherit"
classes a, b, c, and system.windows.forms.form by inheriting class
a in my code. Now, for the question at hand. Lets say I need my project
to inherit from a system namespace, using the following:
Inherits System.Web.Services.WebService
And I also need to inherit classes a, b, and c... How can I make
that happen? It seems like I can import an unlimited amount of custom
classes by calling them via the hierarhy I described above.
However, using this method, I can only ultimately inherit from one system
namespace in the entire project, and I have a project that needs to
inherit both the WebService and WebPage classes... how can I do
that? Thanks in advance!