====== [적용 예] WebService ====== ===== 개요 ===== [[egovframework:rte:itl:webservice|WebService]] Service 를 적용해서 Best민원 설정시 해당 시스템과 송수신한다. ===== 설명 ===== ==== Configuration ==== === resources\spring\context-webservice.xml === /egovframework/rte/itl/integration/metadata/dao/hibernate/OrganizationDefinition.hbm.xml /egovframework/rte/itl/integration/metadata/dao/hibernate/SystemDefinition.hbm.xml /egovframework/rte/itl/integration/metadata/dao/hibernate/ServiceDefinition.hbm.xml /egovframework/rte/itl/integration/metadata/dao/hibernate/RecordTypeDefinition.hbm.xml /egovframework/rte/itl/integration/metadata/dao/hibernate/IntegrationDefinition.hbm.xml /egovframework/rte/itl/webservice/data/dao/hibernate/WebServiceClientDefinition.hbm.xml /egovframework/rte/itl/webservice/data/dao/hibernate/WebServiceServerDefinition.hbm.xml hibernate.dialect=org.hibernate.dialect.HSQLDialect hibernate.show_sql=false hibernate.hbm2ddl.auto=validate === WEB_INF\web.xml === EgovWebServiceServlet egovframework.rte.itl.webservice.EgovWebServiceServlet 1 EgovWebServiceServlet /services/* ==== Source ==== === egovframework\rte\cvpl\web\EgovCvplCnsltController.java === @RequestMapping("/cvpl/updateCvplCnsltBest.do") public String updateCvplCnsltBest( CvplCnsltVO cvplCnsltVO, @ModelAttribute("searchVO") CvplSearchVO searchVO, SessionStatus status) throws Exception { if(egovWebServiceClientRegisterCvpl.registerCvpl(cvplCnsltVO)) { cvplCnsltService.updateCvplCnsltBest(cvplCnsltVO); status.setComplete(); } return "forward:/cvpl/egovCvplCnsltList.do"; }