Hello,
I've got a Java hessian server with the following classes:
- abstract class A
--- class B extends A
--- class C extends A
and a method with the following signature:
public A myMethod();
Now, I've got the same class structure on the C# side (with the abstraction
of A).
There is an exception when I try to call myMethod().
A possible fix that I found is to do :
return hessianInput.ReadReply(null); // methodInfo.ReturnType
Instead of:
return hessianInput.ReadReply(methodInfo.ReturnType);
In the file CHessianMethodCaller.cs (line 217 in release 1.3) , in the
method DoHessianMethodCall()
So that it doesn't "force" the use of the class A (which is abstract and
therefore which cannot be used).
There might be better fixes alought.
Regards,
Dinesh Bolkensteyn
Nobody/Anonymous ( nobody ) - 2008-05-12 13:22
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2008-05-12 20:30 Logged In: NO |
|
Date: 2008-05-12 18:18 Logged In: NO |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use