Discussion:
[omniORB] [omniORBpy3] DynamicAny
JiangWei
2006-07-12 07:47:53 UTC
Permalink
orb.resolve_initial_references('DynAnyFactory')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/site-packages/CORBA.py", line 560, in
resolve_initial_references

omniORB.CORBA.InvalidName: omniORB.CORBA.InvalidName()
orb.list_initial_services()
['NameService', 'RootPOA', 'POACurrent']
Duncan Grisby
2006-07-12 12:14:52 UTC
Permalink
Post by JiangWei
orb.resolve_initial_references('DynAnyFactory')
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/site-packages/CORBA.py", line 560, in
resolve_initial_references
omniORB.CORBA.InvalidName: omniORB.CORBA.InvalidName()
orb.list_initial_services()
['NameService', 'RootPOA', 'POACurrent']
Sorry, DynAny isn't supported in omniORBpy. The work-around is to
dynamically generate IDL and import it with omniORB.importIDL().

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
JiangWei
2006-07-12 18:21:42 UTC
Permalink
Post by Duncan Grisby
=20
Post by JiangWei
orb.resolve_initial_references('DynAnyFactory')
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/site-packages/CORBA.py", line 560, in
resolve_initial_references
omniORB.CORBA.InvalidName: omniORB.CORBA.InvalidName()
orb.list_initial_services()
['NameService', 'RootPOA', 'POACurrent']
=20
Sorry, DynAny isn't supported in omniORBpy. The work-around is to
dynamically generate IDL and import it with omniORB.importIDL().
Duncan.
=20
Thank you.

omniORB.importIDL() is very interesting.

Loading...