virtual int processCMD() { Owned<IClientWsPackageProcess> packageProcessClient = getWsPackageSoapService(optServer, optPort, optUsername, optPassword); Owned<IClientDeActivatePackageRequest> request = packageProcessClient->createDeActivatePackageRequest(); request->setPackageName(optQuerySetName); request->setPackageMapName(optPackageMap); Owned<IClientDeActivatePackageResponse> resp = packageProcessClient->DeActivatePackage(request); if (resp->getExceptions().ordinality()) outputMultiExceptions(resp->getExceptions()); return 0; }
virtual int processCMD() { Owned<IClientWsPackageProcess> packageProcessClient = createCmdClient(WsPackageProcess, *this); Owned<IClientDeActivatePackageRequest> request = packageProcessClient->createDeActivatePackageRequest(); request->setTarget(optTarget); request->setPackageMap(optPackageMap); request->setProcess(optProcess); Owned<IClientDeActivatePackageResponse> resp = packageProcessClient->DeActivatePackage(request); if (resp->getExceptions().ordinality()) outputMultiExceptions(resp->getExceptions()); return 0; }