Creating Web Services with FME Server
Upcoming SlideShare
Loading in...5
×
 

Creating Web Services with FME Server

on

  • 365 views

See more FME World Tour 2014 presentations at www.safe.com/recap2014

See more FME World Tour 2014 presentations at www.safe.com/recap2014

Statistics

Views

Total Views
365
Views on SlideShare
359
Embed Views
6

Actions

Likes
0
Downloads
11
Comments
0

1 Embed 6

http://www.slideee.com 6

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Junaio provides an interface to configure channels. You have to provide a URL to get the data fromhttps://www.dropbox.com/s/fok3cg3hu7fadyj/Screenshot%202014-03-05%2015.45.46.png
  • Demo:Opengmail and login to fmeserver@gmail.compassword:freethefmeOpen the page that corresponds to your tour group:subscription_manager_east.htmsubscription_manager_west.htmsubscription_manager_best.htmRun through the links.FME Server REST API credentials: Username: aaron Password: spartan

Creating Web Services with FME Server Creating Web Services with FME Server Presentation Transcript

  • CONNECT. TRANSFORM. AUTOMATE. Creating Web Services with FME Server
  • Web services
  • Create REST Web Services with FME Server
  • Web Services  HTTP/HTTPS  JSON or XML  URL  HTTP Parameters
  • Web Service Standards  Specific URL patterns  Specific HTTP parameters  Specific XML and JSON payloads
  • The FME Bits  Data Streaming service  Workspace  FME_SERVER_REQUEST_URI parameter  FME_SERVER_REQUEST_HEADERS parameter  JSON/XML Transformers
  • The Workspace  The workspace implements the service standards  All of the transformation abilities of FME  FME Workbench’s ease of use
  • Three Examples  OGC WXS  Junaio Augmented Reality  Subscription Management
  • FME WxS Workspace GetCapabilities Request Response XML GetFeature Request Response GML FME Server OGC WXS
  • Augmented Reality
  • Augmented Reality Define a channel by providing a service URL
  • Augmented Reality FME Server Data Streaming service URL:  http://fmeserver.com/fmedatastreaming/junaio/sur rey_businesses.fmw
  • Augmented Reality Specific URL patterns defining the type of request:  http://<host>/<service>/pois/search  http://<host>/<service>/pois/event  http://<host>/<service>/pois/visualsearch  http://<host>/<service>/tools/modelencrypt  http://<host>/<service>/tools/trackingxml
  • Augmented Reality Specific HTTP parameters for filtering the response:  http://<host>/<service>/pois/search?l= (location)  http://<host>/<service>/pois/search?p= (search perimeter)  http://<host>/<service>/pois/search?m= (max features)
  • Augmented Reality Request from Junaio Augmented Reality Browser:  http://fmeserver.com/fmedatastreaming/junaio/sur rey_businesses.fmw/pois/search?l=54.40,- 120.01,200&p=3000&m=40
  • Augmented Reality
  • Augmented Reality Published Parameters Request URL
  • Augmented Reality Specific response data format:  AREL XML
  • Augmented Reality XMLTemplater transformer
  • Subscription Management Example of Implementing a REST API
  • Let’s manage subscriptions to FME Server topics using a web service Subscription Management Example of Implementing a REST API
  • Entities: devices, email addresses, WebSocket streams Topics: places to send messages to and read messages from Subscriptions: agreement for an entity to receive messages from a topic Subscription Management Example of Implementing a REST API
  • Let’s make it RESTful by using the URL pattern to specify the resource to act on Subscription Management Example of Implementing a REST API
  • The Subscription Manager REST API: subscription_manager.fmw/entity/<id>/add?type=<email|apns|gcm|websockets> subscription_manager.fmw/subscription/<topic_name>/<id>/add subscription_manager.fmw/subscription/<topic_name>/<id>/add?confirm_token=**** subscription_manager.fmw/subscription/<topic_name>/<id>/delete subscription_manager.fmw/subscription/<topic_name>/<id>/delete?confirm_token=** Subscription Management Example of Implementing a REST API
  • Let’s return JSON like the cool kids Subscription Management Example of Implementing a REST API
  • Subscription Management Example of Implementing a REST API
  • Request URL Subscription Management Example of Implementing a REST API
  • JSONTemplater transformer Subscription Management Example of Implementing a REST API
  • FME Server makes creating web services easy
  • Thank You!  Questions?  For more information:  info@safe.com  www.safe.com