EntonH
2009-02-04 20:18:55 UTC
Hello Community,
i want to use the omniORB implementation for Python to communicate with a
server that was programmed in Java.
The return type of the called Java-Method is a Object[]. Everytime I call
this method, I receive the BAD_TYPECODE Error.
In the IDL file the method is declared as follows:
any getVariable(in string Name)raises(Exception);
The any instance on java side inherits from
com.sun.corba.se.internal.corba.AnyImpl which inherits from
org.omg.CORBA.Any.
The any data type on java side is filled with
insertObjectArray(org.omg.CORBA.Any a, Object[] objArray).
Do i have to cast the return type before i assign it to a variable on python
client side?
Or is python or omniPy not compatible to the java plugin?
Greetings
EntonH
i want to use the omniORB implementation for Python to communicate with a
server that was programmed in Java.
The return type of the called Java-Method is a Object[]. Everytime I call
this method, I receive the BAD_TYPECODE Error.
In the IDL file the method is declared as follows:
any getVariable(in string Name)raises(Exception);
The any instance on java side inherits from
com.sun.corba.se.internal.corba.AnyImpl which inherits from
org.omg.CORBA.Any.
The any data type on java side is filled with
insertObjectArray(org.omg.CORBA.Any a, Object[] objArray).
Do i have to cast the return type before i assign it to a variable on python
client side?
Or is python or omniPy not compatible to the java plugin?
Greetings
EntonH
--
View this message in context: http://www.nabble.com/BAD_TYPECODE%3A-Java-%3C--%3E-Python-tp21831331p21831331.html
Sent from the OmniORB - User mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/BAD_TYPECODE%3A-Java-%3C--%3E-Python-tp21831331p21831331.html
Sent from the OmniORB - User mailing list archive at Nabble.com.