[omniORB] Question regarding CosNaming and Python/omniOrb
Steinar Rune Eriksen
steinar@orion.no
Thu, 13 Apr 2000 11:27:39 +0200
Does anyone have an example of hwo to use the NamingContext::list() method
with omniorbpy. I have tried all sorts of commands without success, only
getting BAD_PARAM in return..
I am using Orbix 3.0.1 NS reading the root context IOR from a file. The
root context seems OK itself and I can resolve to a specific object in the
NS tree. Still listing the contents of a context is still a mystery...:-)
bindl=CosNaming.BindingList
bindit=CosNaming.BindingIterator
rootContext=orb.string_to_object(ior)
listarg=[0,bindl,bindit]
rootContext.list(listarg)