[omniORB] Exception when passing a sequence of structs

Duncan Grisby dgrisby@uk.research.att.com
Fri, 23 Mar 2001 15:00:09 +0000


On Friday 23 March, "Joshua Reynolds" wrote:

> I am having problems passing a sequence of structs. 
> The struct is extremely simple, three string fields.
> When I try to pass such a sequence, i receive a Corba.BAD_PARAM
> exception

[...]
> bar = ... get Bar objRef
> myFoo = Foo("string1", "string2", "string3")
> myFooList = [myFoo]
> bar.method(myFooList)

That code works perfectly fine for me (after changing the Foo to
_GlobalIDL.Foo). I even tried it on NT in case it was something to do
with that. Can you try the little client and server programs I posted
earlier?

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --