[omniORB] Creating objects with simple object keys

Duncan Grisby dgrisby@uk.research.att.com
Tue, 12 Feb 2002 10:16:01 +0000


On Tuesday 12 February, Roy Ward wrote:

[...]
> "The second is to create objects with the required keys yourself.
> You do this with a special POA with the name `omniINSPOA',
> acquired from resolve_initial_references()."
> 
> How exactly is this "aquiring" done?
> 
> I've tried using "omniINSPOA" instead of "RootPOA" as the
> paramater to resolve_initial_references and I just get a
> PortableServer Wrong Policy exception.

That is exactly what you should do. At what point do you get the
exception?  Can you post the code you are using?

Cheers,

Duncan.

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