View Single Post
  #1 (permalink)  
Old 07-18-2005
jaggu jaggu is offline
Registered User
 
Name: Todd M
Organization: Inc
Project: Testing
 
Join Date: Jul 2005
Posts: 11
Getting Couldn't invoke on the object to get its interface while binding to IcePack

Folks,
I am tring to bind a object to IcePack, seems like I have wrong Sequence or something.
Here is what I am doing:

Ice.Object object = new ThroughputI();
Identity id = Ice.Util.stringToIdentity("MyThroughput") ;
Ice.ObjectPrx objPtr = adapter.add(object, id);
adapter.activate();

IcePack.AdminPrx admin = IcePack.AdminPrxHelper.checkedCast(communicator.st ringToProxy("IcePack/Admin"));

admin.addObject(objPtr);


Thanks
Reply With Quote