#!/usr/bin/env python import sys from omniORB import CORBA, PortableServer # Import the stubs and skeletons for the Example module import Example # Initialise the ORB orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) o = orb.string_to_object(sys.argv[1]) eo = o._narrow(Example.Echo) eo.echoString(sys.argv[2])