我正在尝试使用 RIDC 在 OCM 10gr3 上部署组件,我正在使用的服务是
GET_COMPONENT_INSTALL_FORM
GET_MANIFEST_INFO
以下是我正在使用的代码
idcClient = manager.createClient("http://localhost/idc/idcplg");
idcClient.getConfig().setProperty("http.library","apache4");
userPasswordContext = new IdcContext("username","password");
DataBinder dataBinder = idcClient.createBinder ();
dataBinder.putLocal("IdcService", "GET_COMPONENT_INSTALL_FORM");
dataBinder.putLocal("IDC_Id","idc");
dataBinder.putLocal("UserTempAuth","d://TestComponent.zip");
dataBinder.putLocal("File","ComponentZipFile");
dataBinder.putLocal("Submit"," Install ");
dataBinder.putLocal("IdcService","GET_MANIFEST_INFO");
dataBinder.putLocal("ComponentName","TestComponent");
dataBinder.putLocal("location","TestComponent/TestComponent.hda");
ServiceResponse response = idcClient.sendRequest (userPasswordContext, dataBinder);
DataBinder binderResult = response.getResponseAsBinder();
但是我在使用此代码部署组件时仍然面临问题,在调试时,我也没有遇到任何异常或错误。所以任何人都可以指导我下一步应该做什么。