[omniORB] Problem with inheritance
Duncan Grisby
duncan at grisby.org
Fri Mar 12 17:26:49 GMT 2004
On Wednesday 10 March, "W. Borgert" wrote:
> I'm not sure, whether this is a CORBA question or an omniORB one.
> Anyway: I have a server with an interface A and a derived interface B.
> The server implements interface B. I have a client, that does have
> only the IDL of interface A, so it does not know about interface B.
> The client narrows the server reference successfully to A, but fails
> on the first method invocation (that is, of course, part of interface
> A). If the client is compiled with both A and B, everything works
> fine. The server is omniORB 4.0.3 C++, the client is omniORB Python
> 2.3. Is this behaviour according to the CORBA spec? How can I solve
> the problem?
What you describe should work fine. Can you get traces at traceLevel
25 from both the client and server where it goes wrong?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list