C++ CORBA Client Can Not Find Out Type Code Put Into CORBA::Any
(Doc ID 1484580.1)
Last updated on MAY 10, 2021
Applies to:Oracle Tuxedo - Version 9.1 to 126.96.36.199.0
Information in this document applies to any platform.
A C++ CORBA client can not invoke a CORBA object returning a sequence containing a CORBA:Any.
The unmarshalling is unsuccessful :
Exception caught by C++ CORBA client : BAD_TYPECODE
Error message reported :
LIBORB_CAT:128: ERROR: TypeCode ID not found.
A JAVA CORBA client can retrieve without any problem such a sequence.
Why can the JAVA CORBA client can retrieve a sequence containing a "any" and NOT a C++ CORBA client ?
To reproduce the problem :
The idl file contains :
The C++ CORBA client catches CORBA::BAD_TYPECODE exception when retrieving the sequence.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document