easy web services with fme server

16
Matt Jones Easy Web Services with FME Server

Upload: safe-software

Post on 16-Jul-2015

280 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Easy Web Services with FME Server

Matt JonesEasy Web Services with FME Server

Page 2: Easy Web Services with FME Server

Agenda

Background Information

GETting Data

POSTing Data

Visualizing Data

Demos

Page 3: Easy Web Services with FME Server

Background

Web Services are driving new technologies

Infrastructure is readily available

Store and Retrieve Data on the web

Visual Representation

JSON, JSON, and more JSON!

Page 4: Easy Web Services with FME Server

What is a Web Service?

“Web services provide a standard means of interoperating between different software applications, running on a variety of platforms and/or frameworks.” – W3C, www.w3.org

Request / Response mechanism

Page 5: Easy Web Services with FME Server

Simplifying a Web Service

Getting Data – GET

Updating Data – POST/PUT/DELETE

FME Server and a few transformers

AttributeJSONPacker

AttributeJSONUnpacker

FME Data Streaming Service

FME Job Submitter Service

Page 6: Easy Web Services with FME Server

GETting Data

HTTP GET – often visually seen as an extra URL parameter

Used just as it sounds – to GET data

Delivering content using the Data Streaming Service

Examples

http://example.com?city=stl

http://myfmeserver.com/GetData.fmw?key=matt

Page 7: Easy Web Services with FME Server

GETting Data with FME

http://myfmeserver:8080/fmedatastreaming/getstaff.fmw?staff_id=1

Page 8: Easy Web Services with FME Server

GETting Data with FME

Examples – live demo

Page 9: Easy Web Services with FME Server

POSTing Data

HTTP POST / PUT / DELETE

Used to Update, Add, Delete

fme_where clause

Used for determining affected rows

Page 10: Easy Web Services with FME Server

POSTing Data with FME

http://myfmeserver:8080/fmejobsubmitter/updatestaff.fmw

Page 11: Easy Web Services with FME Server

POSTing Data with FME

http://myfmeserver:8080/fmejobsubmitter/updatestaff_optionb.fmw

Page 12: Easy Web Services with FME Server

POSTing Data with FME

Examples – live demo

Page 13: Easy Web Services with FME Server

Visualizing Data with FME

GETting and POSTing comes together

Envisioning data in tables and charts can assist in making critical decisions

Page 14: Easy Web Services with FME Server

Visualizing Data with FME

Examples – live demo

Projects and Financials

Staff Workload

Page 15: Easy Web Services with FME Server

Summary

Web Services are essential to unlocking data’s potential

Using Published Parameters to help GET and POST data

Visualizing data is made easy using FME Writers and JSON

Page 16: Easy Web Services with FME Server

Thank You!

Questions?

For more information:

Matt Jones – [email protected]

Burns & McDonnell - www.burnsmcd.com