[omniORB-dev] omniINSPOA and wstring support

David Berry david.berry at trigenix.com
Thu Jan 29 14:54:16 GMT 2004


Following up my own message,

David Berry wrote:

> I'm having problems setting up an OmniOrb python server so that it 
> supports wstrings.
>
>
> Then using this code to activate the connection,
>
> # Create an omniINSPOA
> poa_ins = orb.resolve_initial_references("omniINSPOA")
> pman_ins = poa_ins._get_the_POAManager()
> pman_ins.activate()
>
> server_ref = poa_ins.activate_object_with_id("EchoRoot", ei)

This was wrong server_ref was None and so the IOR was wrong.

> print "ref", orb.object_to_string(server_ref)
>
> catior gives us back,
>
> omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
> omniORB: Information: the omniDynamic library is not linked.
> IOR is a nil object reference.
>
> Is there some configuration we need to do to get the wstring support 
> using omniINSPOA?


What we have implemented is a RootFinder interface that has a single 
method get() which
returns the e._this() reference which we can then call and use wstring on..

Dave





More information about the omniORB-dev mailing list