[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mico-announce
Subject:    Re: [mico-devel] Naming Service. Help.
From:       Peter Klotz <peter.klotz () aon ! at>
Date:       2005-04-24 18:02:15
Message-ID: 426BDF27.1000804 () aon ! at
[Download RAW message or body]

Hi Rodrigo

> Hi. I'm new using Mico. I'm just trying to write a client application
> using it. I need to get a reference for the Naming Service.
> In the Mico documentation it's said that with the line
> "orb->resolve_initial_references("NameService")" it's possible
> to get the reference I want. It's also said that using the line
> "orb->list_initial_services()" I can see all the services are
> available for using and for my surprise the NameService
> doesn't appear in the list. Above there's a list off all services
> that apear when I call "orb->list_initial_services()". I really
> need to use the Naming Service and if some of you could help me
> I'd be very thank to it!!!
>
Did you initialize the ORB in your client application using an option 
like "-ORBInitRef NameService=corbaname::<HOST>:<PORT>" (replace <HOST> 
and <PORT> with your actual nsd parameters)?

If you do, orb->resolve_initial_references("NameService") should be fine.

Best regards, Peter.
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic