1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X 8402 Open API KS X 8402: 2012 2012 12 28 http:/www.kats.go.krKS X 8402:2012 : ( ) ( ) () () ( ) : SDS LG CNS SK C&C : (http:/www.standard.go.kr) : :2012 12 28 2012-0830 : : ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X 8402:2012 i ii 1 1 2 .1 3 2
2、 3.1 2 3.2 .4 3.3 6 KS X 8402:2012 .8 KS X 8402:2012 ii . . , , . , , . KS X 8402:2012 Open API Information Technology Service Oriented Architecture Guideline for Interface Specification of Open API Services 1 Open API ( ) . , , . (SOAP: Simple Object Access Protocol)/REST(REpresentational State Tra
3、nsfer) (WSDL: Web Services Description Language) WSDL . WSDL ( ) . , , . SOAP, REST WSDL . RSS(Really Simple Syndication), Atom . , . 2 . , , . . KS X 8402:2012 2 . , XML . . . 1 , 1 . , 1 . 1 SOAP, REST , , . RSS/Atom . SOAP REST RSS/Atom N/A 3 3.1 . KS X 8402:2012 3 , , , , URL, WSDL . . . , . . U
4、RL . WSDL WSDL , RSS/Atom . (* WSDL ) ( ) ( )* ( ) e-Mail / ( ) * : SOAP 1.2, REST, RSS 1.0/2.0, Atom 1.0 : XML, JSON, MIME, MTOM, OGC OpenGIS URL* URL WSDL WSDL ( ) ( ) RequestOrderService / / . OO OO 0X-XXX-XXX e-Mail abcxys.or.kr v 1.0 2010.01.01 2011.12.31 KS X 8402:2012 4 SOAP 1.2 XML URL http:
5、/www.xyz.org/soap/order/requestorderservice WSDL http:/www.xyz.org/soap/order/requestorderservice?WSDL3.2 . , . , ( ), ( ), ( ), ( ) . , , . ( ), , , . ( ), , , . , ( ) . (* WSDL ) ( ) ( )* ( ) ( ) 1 (* WSDL ) ( )* : ( ), (Item), , / , , ( ), ( ) ( )* ( ) , ( ) KS X 8402:2012 5 ( )* ( ) , No. ( ) (
6、) ( ) ( ) 1 GetOrderList OrderListRequest 2 GetOrderItem OrderNo 3 AddOrder OrderInfoItem 4 UpdateOrder OrderInfoItem 1 ( ) GetOrderList ( ) ( ) . ( ) OrderListRequest ( , , ) . N/A ( ) OrderListResponse 6 . 50 / , 2 ( ) GetOrderItem (Item) . ( ) OrderNo . GetOrderList ( ) OrderInfoItem . KS X 8402:
7、2012 6 3 ( ) AddOrder . ( ) OrderInfoItem , , . ( ) AddOrderInfoResponse . 4 ( ) UpdateOrder / . ( ) OrderInfoItem ( , , ) . GetOrderItem ( ) UpdateOrderResponse . 3.3 . ( ), ( ), ( ), , , . ( ) ( ) ( ) . ( / ) . , , . (0)/ (1) (0.n)/ (1.n) . , ( ) . KS X 8402:2012 7 (* WSDL ) ( )* ( ), ( .) ( )* (
8、) ( ) ( ) / 0( ) 1( ) 0n ( ) 1n ( ) ( ) OrderListResponse ( ) ( ) result_code 1 1 0 , 1 fail_text 100 0 null OrderList 31 0n order_custom_id 7 1 GetCustomInfo/custom_id due_date 8 1 (yyyymmdd) delivery_area 10 1 order_count 3 1 max=numeric 3 equip_code 1 ( ) OrderListRequest ( ) ( ) order_date 8 1 (
9、yyyymmdd) order_custom_id 7 1 AddOrder/order_custom_id search_page List 3 0 max=numeric 3 1 max_line_of_list 3 0 max=numeric 3 50 KS X 8402:2012 8 KS X 8402:2012 1 Open API . , , Open API . 2 (TTA) SOA 2010 (TTAK.KO-09.0069) . , , SOA (10.3) “ ( 2010-45 )” . Open API . 3 Open API , , . Open API 153787 1 92 3(16) (02)26240114 (02)262401489 http:/ Korean Agency for Technology and Standards http:/www.kats.go.kr KS X 8402:2012 KSKSKS SKSKS KSKS SKS KS SKS KSKS SKSKS KSKSKS Information TechnologyService Oriented ArchitectureGuideline forInterface Specification of Open API Services ICS 35.240