THE IMPLEMENTATION OF PRESENTATION SERVICE USING JAVA WEB SERVICES



Similar documents
Introduction into Web Services (WS)

Consuming and Producing Web Services with WST and JST. Christopher M. Judd. President/Consultant Judd Solutions, LLC

T Network Application Frameworks and XML Web Services and WSDL Tancred Lindholm

What is a Web service?

The presentation explains how to create and access the web services using the user interface. WebServices.ppt. Page 1 of 14

Creating Web Services in NetBeans

Author: Gennaro Frazzingaro Universidad Rey Juan Carlos campus de Mostòles (Madrid) GIA Grupo de Inteligencia Artificial

A Web services solution for Work Management Operations. Venu Kanaparthy Dr. Charles O Hara, Ph. D. Abstract

Service Oriented Architecture

Implementing Java Distributed Objects with JDBC

Consuming and Producing Web Services with Web Tools. Christopher M. Judd. President/Consultant Judd Solutions, LLC

Research on the Model of Enterprise Application Integration with Web Services

WEB SERVICES. Revised 9/29/2015

Introduction to Service Oriented Architectures (SOA)

Grid Computing. Web Services. Explanation (2) Explanation. Grid Computing Fall 2006 Paul A. Farrell 9/12/2006

Developing Java Web Services

Lesson 4 Web Service Interface Definition (Part I)

GIS Web Services. Acknowledgement: Thanks to Principal & Dr. (Mrs.) G.V. Rao, CRS-GIS, K.J.

Interoperable Solutions in Web-based Mapping

A standards-based approach to application integration

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

WebSphere Product Family Overview

Introduction to Testing Webservices

Dynamic e-business with DB2 and Web Services

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

Introduction to WebSphere Process Server and WebSphere Enterprise Service Bus

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

A Web Services Created Online Training and Assessment Scheme

B2B Glossary of Terms

How to make a good Software Requirement Specification(SRS)

Virtual Credit Card Processing System

Griglie e Sistemi di Elaborazione Ubiqui

Building Service-Oriented Architecture Based Geospatial Web Portal

Web Services Implementation: The Beta Phase of EPA Network Nodes

A Middleware-Based Approach to Mobile Web Services

Web services can convert your existing applications into web applications.

BUSINESS PROCESS AND EBXML - WEB SERVICES INTEGRATION PLATFORM, REQUIREMENTS, ARCHITECTURES, SECURITY

Web Services Overview. Ajith Abraham

Middleware and the Internet

Motivation Definitions EAI Architectures Elements Integration Technologies. Part I. EAI: Foundations, Concepts, and Architectures

WebSphere Portal Server and Web Services Whitepaper

Integration of location based services for Field support in CRM systems

IBM Rational Web Developer for WebSphere Software Version 6.0

Web Services Strategy

Web Services for Environmental Informatics

ENTERPRISE SERVICES. By Paul Fremantle, Sanjiva Weerawarana, and Rania Khalaf

Automating the DEVS Modeling and Simulation Interface to Web Services

IBM WebSphere ESB V6.0.1 Technical Product Overview

SAP NETWEAVER ARCHITECTURE CONCEPTS, PART 1

Agents and Web Services

Deployment Time Optimization of Distributed Applications

NetBeans IDE Field Guide

The Study on Mobile Phone-oriented Application Integration Technology of Web Services 1

Developing Java Web Services to Expose the WorkTrak RMI Server to the Web and XML-Based Clients

The Design and Implementation of Unified Invoking Component Based on Web Services Framework

Method of Unified Communications and Collaboration Service in Open Service Platform based on RESTful Web Services

Chapter 4. Architecture. Table of Contents. J2EE Technology Application Servers. Application Models

SCA-based Enterprise Service Bus WebSphere ESB

Building Web Services with Apache Axis2

ADDING SESSION AND TRANSACTION MANAGEMENT TO WEB SERVICES BY USING SIP

Oracle Application Server 10g Web Services Frequently Asked Questions Oct, 2006

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

A SOA Based Framework for the Palestinian e-government Integrated Central Database

EUR-Lex 2012 Data Extraction using Web Services

Integration of Hotel Property Management Systems (HPMS) with Global Internet Reservation Systems

Web Services Technologies

A Flexible Services Architecture Based Translator Web Services

WebSphere Suite Overview

Copyright IONA Technologies Web Services. Seán Baker IONA Technologies

2sms SMS API Overview

Web services with WebSphere Studio: Deploy and publish

GENERIC DATA ACCESS AND INTEGRATION SERVICE FOR DISTRIBUTED COMPUTING ENVIRONMENT

Enhancing A Software Testing Tool to Validate the Web Services

: Test 217, WebSphere Commerce V6.0. Application Development

IBM Rational Rapid Developer Components & Web Services

Introduction to Web services architecture

WebSphere Portal, Portlets and Web Services

Mobility Information Series

Outline SOA. Properties of SOA. Service 2/19/2016. Definitions. Comparison of component technologies. Definitions Component technologies

Cloud Computing & Service Oriented Architecture An Overview

David Pilling Director of Applications and Development

4. Concepts and Technologies for B2C, B2E, and B2B Transaction

Discovering E-Services Using UDDI in SELF-SERV

Increasing IT flexibility with IBM WebSphere ESB software.

Enterprise Application Designs In Relation to ERP and SOA

Developing a Web Service Based Application for Mobile Client

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

Enhancing Field Service Support in CRM Systems with LBS

The Learning Service Bus Based on SOA

Managing a Geographic Database From Mobile Devices Through OGC Web Services

Ambientes de Desenvolvimento Avançados

1 What Are Web Services?

1 What Are Web Services?

Developing Wireless GIS: Using Java and XML Technologies

Developing Web Services with Eclipse

Web Services, CORBA and other Middleware

Web Services and Seamless Interoperability

Design and Implementation of distributed Web Services in Mobile GIS Application

Classic Grid Architecture

Transcription:

Geoinformatics 2004 Proc. 12th Int. Conf. on Geoinformatics Geospatial Information Research: Bridging the Pacific and Atlantic University of Gävle, Sweden, 7-9 June 2004 THE IMPLEMENTATION OF PRESENTATION SERVICE USING JAVA WEB SERVICES Tae-Wook Heo 1 and Jong-Hyun Park 2 LBS research Team, Telematics Research Division, ETRI, 161 Gajeong-dong, Yuseong-gu, Daejeon, S. Korea, 1 htw398@etri.re.kr, 2 jhp@etri.re.kr Abstract Recently, Location-based services (LBS) allow consumers to receive services based on their geographic location data. For example, these services can provide information to find a traffic facility, a public restaurant, a hospital, and a station based on the consumer s location. Soon, the standards of the Open GIS Consortium, Inc.(OGC) are going to establish including the route determination services, directory services, location utility services, presentation services, and navigation services on LBS. According to the fast development of devices such as PDA, cellular phone, smart phone and so on, these services are brought into relief. Also, a lot of killer applications connected with LBS are produced and many services put in operation. In this paper, open presentation services related to the open LBS platform are proposed and we implements in the handset devices using WIPI (Wireless Internet Platform for Interoperability), meaning Korean wireless telecommunication standards and the open presentation services are based on Java Web Services. INTRODUCTION The importance of location based services grows highly as the development of mobile communication. For user s convenience, several location based services such of the route determination, directory, location utility and navigation service are proposed. For this tendency, the program is implemented in this paper to present a map in mobile device based Java Web Services technology without Korean mobile communication companies various platform. These services consisted of Java based Web Services are available in various platform. These structures of EJB (Enterprise Java Bean) are used to implement them and we have simulated it by PC. And as the form of correspondent to the standard of OpenLS specification, a map presentation program was designed and implemented. Also, the opened LBS platform was supported, used the SOAP and XML as the data transformation standard. WEB SERVICES Now, the fundamental standards promoted on W3C are XML (Extensible Markup Language), UDDI (Universal Description Discovery and Integration), WSDL (Web Service Description Language), SOAP (Simple Object Access Protocol). And Figure 1 shows the basic structure of web services. The XML schema defines web service s basic data format, UDDI provides web services publication, advertisement, and outer web service s findings. WSDL provides the detailed information necessary to invoke a particular service (Chappell and Jewell, 2002). 120

The implementation of presentation service using Java web services Figure 1: The Structure of Web Service. Web Services is one of the latest developed technologies in fields such as e-business, m- commerce, and so on. Web Services goals are enabling universal interoperability, enabling dynamic binding and supported both open Web and more constrained environments. Web Services are consisted of service requesters, service registries, and service providers. Web Services in this paper are based Java XML (extensible markup language) Web Services in data implementation layer, therefore these technologies can be operated each other in the core layer, and supported several standard protocols (SMTP, HTTP, FTP). Also, they show input/output parameters, the structure of function, and service protocol binding using the WSDL stated Web Service s interface (Bequet et al., 2002). Figure 2 shows that the service requestor asks the service registry to find its desired service. Then, the service registry searches the registration data of provider and sends the service provider s connection URL or information of service to the service requestor. So, the service requestor combines to the service provider through the connection URL, and receives services. Figure 2: Web Service Framework. XML-RPC is a specification for representing remote procedure calls and results using XML in a simple yet powerful way. Figure 3 explains the communication procedure of XML- RPC based Java language. If client calls a Java method, the method is serialized by XML, enveloped SOAP and transported using the standard protocols. And in response it can be accepted java method. In the procedure, it can be communicated either.net or J2EE platform. Presentations service provides a map using web service. Figure 4 shows the whole system of presentation service. The system called a presentation service in the mobile device as a Web Services form connected a wireless network WIPI platform. 121

T.-W. Heo and J.-H. Park Figure 3: The Procedure of XML-RPC. Figure 4: Presentation Service based Architecture. PRESENTATION SERVICE 1) Presentation service form Figure 5 shows a presentation service system flow. First, the users input the parameters of presentation service. And the data such as width, height and format are set up the map initialization, we connect to DB with spatial operation, we generate a map of POI, position, and route information, the output parameters used Literal XML. And Figure 6 shows presentation map generation flow. Figure 5: Presentation Service System Flow. 122 Figure 6. Map Generation Flow.

The implementation of presentation service using Java web services The proposed system in this paper is the presentation service in the mobile device as a Web Services form connected a wireless network WIPI platform. In server side, the presentation service s structure are consisted of input part through the XML format, DB connection part, image map creation part, and output parameter generation part. In this paper, it needs to show the XML generation part and image viewer part. If the client would request a map with the OpenLS core services such as route determination service and POI (Position of Interest) service and position service, the system provides base64 encoded PNG images using the Web Services for the users and implements it through J2EE-EJB (Christenson et al., 2001, and Johnson, 2002). 2) Presentation service schema Figure 7 and Figure 8 shows respectively request and response definition XML file of presentation service XML schema. The presentation service supported in this paper keeps proposed OpenLS standard perfectly (Open GIS Consortium Inc., 2002). Figure 7: Presentation Service Request XML Schema. Figure 8: Presentation Service Response XML Schema. 123

T.-W. Heo and J.-H. Park 3) Presentation service test environment Presentation service supports OpenLS presentation functionality and met the XLS (XML for location services) requirements. As previously stated, they provides simplified map data like PNG (Portable Network Graphics) image and represents the overlays for route, POI, Position information. Java web based services and literal SOAP message are implemented. And the presentation service supported in this paper really keeps proposed OpenLS standard perfectly. Table 1 shows test environment of presentation service. JDK compiler version is Java SDK 1.3 version and web service toolkit is Apache AXIS toolkit. And DBMS is Oracle 9.2.0.1 supported spatial operation, WAS (Web Application Server) used IBM WebSphere Application Server 5.0, Java developer tool is WSAD (WebSphere Studio Application Developer). Table 1: Test Environment of Presentation Service. Test Environment factors Language J2EE 1.3 EJB + J2SE 1.3 SOAP Apache AXIS DBMS Oracle 9.2.0.1 + SDO WAS IBM WebSphere Application Server 5.0 RESULT & DISCUSSION Figure 9 shows position and POI display. The text included in the Figure 9 consists of Korean language. (a) Position Display Figure 9: Several Map Display. (b) POI Display Figure 10 and Figure 11 shows the OpenLS specification suggested XML files of PortrayMapRequest and PortrayMapResponse. Figure 12 shows the result of the experiment using a Korean language. According to the input XML parameters, a lot of map images are created. In the map request part, input parameters are consisted of several Overlay tag, Output tag, and Basemap tag. At First, Overlay tag has one of POI, position, RouteGeometry. And the second, Output-tag has width, height, data format, and parameters of rendering the map. At last, Basemap-tag has several layers that are capable of drawing map in the interested area. In the response part, output parameter has a Map tag. And this 124

The implementation of presentation service using Java web services tag is consisted of either CenterContext tag or BBoxContext tag and Content tag. The Content tag has either Data tag or URL tag. The Data tag is Base64 encoded data and URL is address of providing data. Figure 10: OpenLS PortrayMapRequest. Figure 11: OpenLS PortrayMapResponse. Figure 12: XML request & XML Response. 125

T.-W. Heo and J.-H. Park Now, it is going to be establishing the standards of OpenLS specification. If the standard will be completed, original source codes reproduction are need for the modified standard. The presentation service s problems are as follows. The OpenLS specification is not fixed finally. Also, map presentation service is not flexibly adapted. Map drawing module is static provided by each level. Before long, map drawing module will be dynamically created without levels. CONCLUSION AND FUTURE We implements a presentation web service which is supported multi-platforms. The implemented system in this paper is the map presentation service based Java fit for OpenLS specification and supported the architecture implementation of multi-platforms, both.net and J2EE. Yet, OpenLS specification is not standard but only request for comments. In the future, if the standards publish completely, we will implement Web Services properly. REFERENCES Bequet, H., Kunnumpurath, M.M., Rhody, S. and Tost, A., 2002: Beginning Java Web Services. Wrox Press, Sep, 2002. Chappell, D.A. and Jewell, T. 2002: Java Web Services. O'Reilly, March. Christenson, E., Curbera, F., Meridith, G. and Weerawarana, S., 2001: Web Services Description Language (WSDL) 1.1, W3C Note (March 15, 2001), see http://www.w3.org/tr/wsdl. Johnson, R., 2002: J2EE Design and Development, Wrox Press, October. Open GIS Consortium Inc., 2002: OpenLS Presentation Service, OpenGIS Project Document (OGC 02-091), 11 November. 126