Legacy Issue Number: 3674
Source: Humboldt-Universitaet ( Martin von Loewis)
Using the static invocation interfaces, it is possible to receive a
valuetype that derives from the one declared in an operation, as long
as a valuetype factory is known in the receiver (truncation is not the
The same is not possible at the DII: When creating the request, the
caller must indicate what type it expects, by forming a named value.
Conceptually, the typecode in the named value should be the typecode
of the base of all acceptable value types. However, if the ORB
receives a derived type, it has no means of unmarshalling it - even if
the application has knowledge about the derived type.
What is missing is an interface to make typecodes of value types known
to the ORB; with those, the ORB could then understand the CDR of the
valuetype, and create a DynAny when asked to.
Reported: CORBA 2.3.1 — Wed, 7 Jun 2000 04:00 GMT
Updated: Tue, 27 Aug 2019 10:51 GMT