DOI QR코드

DOI QR Code

REST 웹 서비스를 위한 WADL2Stub 시스템의 구현

An Implementation of WADL2Stub System for REST Web Services

  • 발행 : 2009.04.30

초록

최근 Web2.0의 등장과 함께 SOAP 기반의 웹 서비스에 비해 가볍고 구현이 쉬운 REST 웹 서비스가 많은 주목을 받고 있다. REST 웹 서비스의 API를 정의하고 기술하기 위한 다양한 방법들이 제안되었고, WSDL도 2.0 버전에서 SOAP 뿐만 아니라 REST도 기술할 수 있게 확장되었지만 너무 복잡하다는 문제점이 있었다. 이에 썬 마이크로시스템은 WSDL에 비해 간략하면서도 범용성이 뛰어난 WADL을 발표하게 된다. WADL의 목적은 Web 2.0 어플리케이션을 보다 쉽게 생성하고 동적으로 관리할 수 있도록 인터넷상의 웹 서비스들을 기계가 처리할 수 있는 방법으로 기술하는 것이다. 그러나 WADL의 경우 자동으로 클라이언트코드를 생성해주는 툴이 없어 개발자들이 클라이언트 코드를 직접 생성해야 하는 문제점이 있다. 이에 본 논문에서는 개발자들이 WADL기반의 REST 웹 서비스를 쉽고 편리하게 이용할 수 있도록 클라이언트 코드를 생성하는 WADL2Stub 시스템을 설계하고 구현하였다.

Recently, RESTful web service is getting attention with the emergence of Web 2.0. The main advantages of REST web services are lightweight and easy implementation compared to SOAP based web services. In order to define and describe RESTful APIs, various methods have proposed. WSDL 2.0 can describe both SOAP-based and RESTful services and but it is too complicated. WADL is championed by Sun Microsystems and it is lightweight, easier to understand and easier to write than WSDL. The purpose of WADL is to allow web services to be described in a machine readable way, to make it easy to create Web 2.0 applications and create a dynamic way of creating and configuring services. However, WADL does not provide utility tools to generate client code automatically and the developers describe client code manually. In this paper, we design and implement a WADL2Stub system to generate client code from WADL files automatically so that the developers use REST web services to easily and conveniently.

키워드

참고문헌

  1. Ethan Cerami, Web Services Essentials, O'REILLY, 2002
  2. Dave Winer, XML-RPC Specification, 1999. http://www.xmlrpc.org/spec.
  3. Simple Object Access Protocol(SOAP) V 1.2, W3C Recommendation, 2007. http://www.w3.org/TR/soap/
  4. T. Bellwood, L. Clement, D. Ehnebuske, A. Hately, M. Hondo, Y. Leng Husband, K. Januszewski, S. Lee, B. McKee, J. Munter, and C. Riegen. UDDI version 3.0. Technical report, 2002
  5. Web Service Description Language (WSDL) Version 2.0, W3C Recommendation, 2007. http://www.w3. org/TR/ wsdl20/
  6. Roy Thomas Fielding, Representational State Transfer (REST), Ph.D. Thesis, University of California, Irvine, 2000
  7. Leonard Richardson and Sam Ruby, RESTful Web Services, O'REILLY, 2007
  8. T. Takase, S. Makino, S. Kawanaka, K. Ueno, C. Ferris, and A. Ryman, Definition Languages for RESTful Web Services: WADL vs. WSDL 2.0, IBM White Paper, 2008
  9. M. Muenhlen, J. Nickerson, and K. Swenson, Developing Web Services Choreography Standards-the case of REST vs, SOAP, Decision Support Systems, 2005 https://doi.org/10.1016/j.dss.2004.04.008
  10. M. J. Hadley, Web Application Description Language(WADL), Sun microsystems Inc., 2006
  11. T. Steiner, REST Describe & Compile, http://code.google.com/p/rest-api-code/
  12. Yahoo Web APIs. Technical report, Yahoo, 2005. http://developer.yahoo.net/
  13. XMLBeans, http://xmlbeans.apache.org
  14. FreeMarker: Java Template Engine Library. http://freemarker.org/