c++visual-studiocorbaiiop

how to make remote calls using IIOP and omniORB


I have installed omniORB successfully on Windows Server 2012. I have two IDL files which I compiled using the omniidl compiler and now have a header file and source file for the two IDL files.

enter image description here

How do you go about writing a client that can connect remotely and make the fuction calls in C++? How does this process work?

I ordered the book "Advanced CORBA Programming with C++" which should be here soon, however, if anyone has experience with writing IIOP clients in C++ if you could explain how the connection is made and making a simple call. I am only making the client as the device already has the iiop server.


Solution

  • I would put this as a comment but I don't have enough rep. If you are working with a cisco DCM (or any cisco product) I would recommend reaching out to cisco.

    Just recently I have made a python implementation of CORBA (omniORBpy) with a cisco DCM. I reached out to cisco and they gave me code that made the connection with some examples of method calls as well.

    Alternatively omniORB does have some examples showing how to connect a client and server and pass information to each other. See the omniorb documentation. Under chapter 2 "The Basics" they have a few walk throughs.

    Hopefully this helps in some way.