C++ CORBA Client Can Not Find Out Type Code Put Into CORBA::Any
(Doc ID 1484580.1)
Last updated on SEPTEMBER 18, 2023
Applies to:
Oracle Tuxedo - Version 9.1 to 11.1.1.3.0Information in this document applies to any platform.
Symptoms
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.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |