IceGrid/Query

in Help Center
Hello,
I'm trying to find an object with the IceGrid/Query interface. I have added an object with ID "[email protected]"; this works fine when I get a proxy to it via the communicator, but when I do findObjectById, I get a null proxy back. Not sure what I'm doing wrong...
Thanks.
I'm trying to find an object with the IceGrid/Query interface. I have added an object with ID "[email protected]"; this works fine when I get a proxy to it via the communicator, but when I do findObjectById, I get a null proxy back. Not sure what I'm doing wrong...
IceGrid::QueryPrx qPrx =IceGrid::QueryPrx::checkedCast(basePrx); if ( qPrx ) printf("qPrx okay\n"); Ice::ObjectPrx found = qPrx->findObjectById( communicator()-> stringToIdentity("[email protected]"));
Thanks.
0
Comments
The new code snippet is:
The findObjectById operation can only be used to find well-known objects. Have you configured IceGrid so that DataRecorder is a well-known object?
Take care,
- Mark