wle c++ client binding to Jacorb object
2 Message(s) by 2 Author(s) originally posted in java corba
| From: ccrosetti |
Date: Monday, October 24, 2005
|
Hello, I am tryingto access a remore
object fom a c++
client .
Got the correct Jacorb nameservice using a corbaloc.Saw some notes where Jacorbsupports onli NamingContext Names of a
single entry, while my Jacorb
server name is registered as Name1.Name2,
being Nme1 the
context and Name2, name3 and else the interfaces.Can anybody show me how to get the remote object? I tried
to_name("Name1.Name2") and a two step strategy withot success.A c++
sample code will be good, but also a JAVA client will be fine
since I can correlate.This is oriented to experts in Jacorb.
Hope many Tux client developers
have faced this problem as well. TIA, Carlos
| From: Bernhard Schuhmann |
Date: Friday, December 09, 2005
|
Hello Carlos
if Name1 is the context and Name2, etc. are the objects you might want
to try to_name("Name1/Name2")?
A
dot is used to seperate id and kind of a NameComponent,
slash is for
separating NameComponents.
Hth
Bernhard
wrote in message:
Hello, I am tryingto access a remore object fom a c++ client.
Got the correct Jacorb nameservice using a corbaloc.
Saw some notes where Jacorbsupports onli NamingContext Names of a
single entry, while my Jacorb server name is registered as Name1.Name2,
being Nme1 the context and Name2, name3 and else the interfaces.
Can anybody show me how to get the remote object? I tried
to_name("Name1.Name2") and a two step strategy withot success.
A c++ sample code will be good, but also a JAVA client will be fine
since I can correlate.
This is oriented to experts in Jacorb. Hope many Tux client developers
have faced this problem as well.
TIA, Carlos
Next Message: JAVA idl question