C++ CORBA Client Can Not Find Out Type Code Put Into CORBA::Any
Last updated on NOVEMBER 04, 2016
Applies to:Oracle Tuxedo - Version 9.1 to 220.127.116.11.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms