[omniORB] omniORBPy and CORBA sequences
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 24 Aug 2000 11:16:49 +0100
On Wednesday 23 August, Marcus Gruendler wrote:
> I want to send HyperLinks via the storeHyperLinks() operation as
> defined below. But on the execution I get this error:
>
> BAD_PARAM: Minor: 0, Completed: COMPLETED_NO.
The code you posted should work. Can you run the client with a command
line argument of "-ORBtraceLevel 10 -ORBtraceInvocations". That will
indicate where the BAD_PARAM exception is thrown from. With any luck,
that will show what's wrong.
One thing which might be a problem (but not with the code snippet you
posted) is that CORBA strings are not permitted to have null
characters in them, but Python strings are. omniORBpy raises BAD_PARAM
if you pass a string containing nulls.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --