hi i have stated my ICEBOX with following configration (i use spring to get my configration)
***************************************
Ice.Default.Locator=IcePack/Locator:tcp -p 12000
IceBox.ServiceManager.Endpoints=tcp -p 10000
IceBox.ServiceManager.AdapterId=ServiceManager
Ice.Default.Package=com.myWorks
IceBox.Service.GoogleSearchService=org.bootstrap.I ceServices GoogleServiceContext.xml googleSearch masterSearch
GoogleSearchService.Endpoints=default
GoogleSearchService.AdapterId=theGoogleSearchServi ce
GoogleSearchService.Proxy=myWork@theGoogleSearchSe rvice
************************************************** *****
My client Invocation is as follows
***********************************************
Communicator ic=Util.initialize(args);
Ice.ObjectPrx base= ic.stringToProxy("mywork@theGoogleSearchService");
if(base!=null)
{
GoogleservicesPrx prx=GoogleservicesPrxHelper.uncheckedCast(base);
MyGoogleRequest req= new MyGoogleRequest();
req.query="war";
req.postion=0;
prx.doAction(req);
I am getting the following error
Exception in thread "main" Ice.NoEndpointException
proxy = "mywork -t @ theGoogleSearchService"
at IceInternal.IndirectReference.getConnection(Indire ctReference.java:180)
at Ice._ObjectDelM.setup(_ObjectDelM.java:199)
at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHel perBase.java:648)
at com.myworks.google.services.GoogleservicesPrxHelpe r.doAction(GoogleservicesPrxHelper.java:30)
at com.myworks.google.services.GoogleservicesPrxHelpe r.doAction(GoogleservicesPrxHelper.java:19)
at org.bootstrap.TestService.main(TestService.java:21 )
I cannot figure out the problem please help me in solving this![]()

Reply With Quote