1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | public ESIGetAccountsByEquipmentResponseType getAccountsByEquipment( ESIGetAccountsByEquipmentRequestType getAccountsByEquipmentInput) throws java.rmi.RemoteException { String methodName = "getAccountsByEquipment"; // return object ESIGetAccountsByEquipmentResponseType rc = new ESIGestAccountsByEquipmentResponseType(); // request value used for simulator xml retrieval key String sim = getAccountsByEquipmentInput.getEquipment().getSim(); if (log.isLoggable(WsLevel.FINER) { log.entering(className, methodName); } try { rc = (ESIGetAccountsByEquipmentResponseType) com.simulator.DataGenerator .getDataByBeanId( "ESIGetAcountByEquipmentResponseType", ACTION_KEY_EQUIPMENT, sim); return rc; } catch (org.springframework.beans.factory.BeanDefinitionStoreException ioe) { // return default equipment response rc = (ESIGetAccountsByEquipmentResponseType) com.simulator.DataGenerator .getDataByDefault("ESIGetAccountsByEquipmentResponseType", ACTION_KEY_EQUIPMENT, DEFAULT_EQUIPMENT_CODE); log.logp(WsLevel.SEVERE, className, methodName, ioe .getResourceDescription()); return rc; } catch (Exception e) { rc.setStatus(getCommonStatusType(e)); return rc; } finally { if (log.isLoggable(WsLevel.FINER)) { log.exiting(className, methodName); } } } |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |