[omniORB] octet sequence

Duncan Grisby duncan@grisby.org
Tue May 28 13:07:02 2002


On Tuesday 28 May, sandor.kopanyi@essnet.se wrote:

> 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;

Are you trying to send a Python list?  The Python mapping for
sequence<octet> is a string, since strings are much more efficient
than lists in Python, and they are more handy for binary data.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --