[omniORB] octet sequence

sandor.kopanyi@essnet.se sandor.kopanyi@essnet.se
Tue May 28 12:46:00 2002


Hi all,

When trying to send in an octet sequence as a parameter
to a function or as a return value (or part of a struct,
of course), I always get CORBA.BAD_PARAM exception. E.g.
typedef sequence<octet> Something;

If I change octet to short or long (i.e. typedef sequence<short> Something;
or typedef sequence<long> Something;) everything works fine.

I use omniORBpy 1.4 with Python 1.5.2 on Linux 2.4 (Redhat 7.2)
and omniORBpy 1.4 with Python 2.1 on Windows2000, it works/fails
on both platforms.

Is this a bug or I miss something?
(Of course, I was searching for this problem on the Web and
in the mailing list.)

Best regards,
Sandor