Hello,

I'm developing a WebServices tester, so I keep for each class I get from the WebReference an opposite class that inherits the WebReference class.

For example, if I have 2 Web References:
- WR1 that has classes A,C (ComplexTypes)
- WR2 that has classes B,C

I create at my side:

class A
inherits WR1.A
New ( a AS WR1.A )
{}
.
.
.
end class

The problem is that when I have a shared class for both, like class C in this example, I have to develop it twice – once for each WebReference, because if classes A and B uses C, than they can’t both create a reference to an instance of C (different namspaces)
Is there a way to dynamically define the inheritance during runtime, or is there any other solution to this problem?

Help will be fully appreciated :-)