Download - Easy Web Services with FME Server
Matt JonesEasy Web Services with FME Server
Agenda
Background Information
GETting Data
POSTing Data
Visualizing Data
Demos
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!
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
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
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
GETting Data with FME
http://myfmeserver:8080/fmedatastreaming/getstaff.fmw?staff_id=1
GETting Data with FME
Examples – live demo
POSTing Data
HTTP POST / PUT / DELETE
Used to Update, Add, Delete
fme_where clause
Used for determining affected rows
POSTing Data with FME
http://myfmeserver:8080/fmejobsubmitter/updatestaff.fmw
POSTing Data with FME
http://myfmeserver:8080/fmejobsubmitter/updatestaff_optionb.fmw
POSTing Data with FME
Examples – live demo
Visualizing Data with FME
GETting and POSTing comes together
Envisioning data in tables and charts can assist in making critical decisions
Visualizing Data with FME
Examples – live demo
Projects and Financials
Staff Workload
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
Thank You!
Questions?
For more information:
Matt Jones – [email protected]
Burns & McDonnell - www.burnsmcd.com