Broadening Web Service Access through REST and OData?

Similar documents
Develop Mobile Front Ends Using Mobile Application Framework A - 2

Introduction to RESTful Web Services. Presented by Steve Ives

OData Guide June 2014 Product Version 7.7 and above

Introduction. From SOA to REST: Designing and Implementing RESTful Services [./] Tutorial at ICWE Sebastián, Spain) Contents

Introduction. From SOA to REST: Designing and Implementing RESTful Services [./] Tutorial at WWW2009 [ (Madrid, Spain) Contents

What's New with PI Data Access 2010

Unlock Your Data with PI Data Access

Introduction to Web Services & SOA

VS10 WCF of Many Flavors When do I use which?

Unlock your Data with PI Data Access

Introduction to Web Services & SOA

Copyri g h t 2012 OSIso f t, LLC. 1

describe the functions of Windows Communication Foundation describe the features of the Windows Workflow Foundation solution

Services Web Nabil Abdennadher

IEC : Implementation Profile

Understanding RESTful APIs and documenting them with Swagger. Presented by: Tanya Perelmuter Date: 06/18/2018

Niraj Bhatt Technical Architect Session Code:

COURSE 20487B: DEVELOPING WINDOWS AZURE AND WEB SERVICES

MS-20487: Developing Windows Azure and Web Services

Lesson 14 SOA with REST (Part I)

Copyright 2014 Blue Net Corporation. All rights reserved

: ESB Implementation Profile

Developing Windows Azure and Web Services

Distributed Systems. Web Services (WS) and Service Oriented Architectures (SOA) László Böszörményi Distributed Systems Web Services - 1

AIM Enterprise Platform Software IBM z/transaction Processing Facility Enterprise Edition 1.1.0

DEVELOPING WEB AZURE AND WEB SERVICES MICROSOFT WINDOWS AZURE

Developing Data Access Solutions with Microsoft Visual Studio 2010

Course Outline. Developing Data Access Solutions with Microsoft Visual Studio 2010 Course 10265A: 5 days Instructor Led

New to PI SDK and AF SDK 2010

Developing with the Cloud

Enterprise Integration Using IEC

The Power of Connection

"Charting the Course... MOC A Developing Data Access Solutions with Microsoft Visual Studio Course Summary

--Microsoft-- --Windows Phone--

04 Webservices. Web APIs REST Coulouris. Roy Fielding, Aphrodite, chp.9. Chp 5/6

Microsoft Developing Windows Azure and Web Services

[MS20487]: Developing Windows Azure and Web Services

RESTful API Design APIs your consumers will love

All About Open & Sharing

OData: What s New with REST APIs for Your Database. Sanjeev Mohan, Gartner Nishanth Kadiyala, Progress Mark Biamonte, OData TC Member, Progress

The Atom Project. Tim Bray, Sun Microsystems Paul Hoffman, IMC

Realisation of SOA using Web Services. Adomas Svirskas Vilnius University December 2005

Naming & Design Requirements (NDR)

RESTful Web Service Composition with JOpera

PI Notifications: Powerful and Extensible

RESTful Web Services vs. Big Web Services: Making the Right Architectural Decision

Marc Holmes, Andy James, Jeff Johnson. Microsoft Corporation

RESTful CIM using the Open Data Protocol

Atom: From Blogging to Data, Web (Services) 2.0

Vlad Vinogradsky

- Gursev Singh Kalra Principal Consultant McAfee, Foundstone Professional Services

Network Programmability with Cisco Application Centric Infrastructure

Understanding and Documenting Web APIs

OSIsoft IIoT Overview Chicago Regional Seminar 2016

Lesson 15 SOA with REST (Part II)

REST API s in a CA Plex context. API Design and Integration into CA Plex landscape

Using SQL Server in C#

Distributed Multitiered Application

What is REST? ; Erik Wilde ; UC Berkeley School of Information

IEC Implementation Profiles for IEC 61968

The Power of Open. A deep dive into OData and the Open Assessment Platform. Q u e s t i o n m a r k C o n f e r e n c e

TOUR OF THE AF AND PI NOTIFICATIONS DEVELOPER TOOLS THE BUILDERS' CAFÉ WEBINAR SERIES

SOA: Service-Oriented Architecture

SharePoint 2013 CRUD on List Items Using REST Services & jquery

Topics on Web Services COMP6017

Space Details. Available Pages

How to Pick the Right PI Developer Technology for your Project

This presentation is a primer on WSDL Bindings. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this

Chapter 8 Web Services Objectives

Cisco IOS Release Notes for Cisco EnergyWise, EnergyWise Version 2.7

Database Driven Web 2.0 for the Enterprise

Advanced WCF 4.0 .NET. Web Services. Contents for.net Professionals. Learn new and stay updated. Design Patterns, OOPS Principles, WCF, WPF, MVC &LINQ

An introduction API testing with SoapUI

Architectural patterns and models for implementing CSPA

Integration and Extensibility

A Comparison of Service-oriented, Resource-oriented, and Object-oriented Architecture Styles

SOFTWARE ARCHITECTURES ARCHITECTURAL STYLES SCALING UP PERFORMANCE

Assignment 2. Start: 15 October 2010 End: 29 October 2010 VSWOT. Server. Spot1 Spot2 Spot3 Spot4. WS-* Spots

Implementing a Ground Service- Oriented Architecture (SOA) March 28, 2006

RESTful Web services

How to Pick the Right PI Developer Technology for your Project

WebSphere MQ Update. Paul Dennis WMQ Development 2007 IBM Corporation

REST - Representational State Transfer

COPYRIGHTED MATERIAL. Contents. Chapter 2: Well-Formed XML 19. Chapter 3: Creating and Distributing a Structure for Shared Information 25

Software Design COSC 4353/6353 DR. RAJ SINGH

Introduction to REST Web Services

Composable Web Services Using Interoperable Technologies From Sun s Project Tango

Developing Microsoft Azure and Web Services. Course Code: 20487C; Duration: 5 days; Instructor-led

LOG8430: Architecture logicielle et conception avancée

REST. Dele Oyebande (Blue Sky ERP)

HTTP, REST Web Services

Introduction and Overview

Distribution and web services

Composable Web Services Using Interoperable Technologies from Sun's "Project Tango"

Integrating with EPiServer

ISTEC.MIP Measurement Data Integration Platform

Emergence of APIs in travel ecosystem

SERVICE-ORIENTED COMPUTING

IEC Overview CIM University UCAIug Summit Austin, TX. 18 November 2011

Restful Application Development

Transcription:

Broadening Web Service Access through REST and OData? Presented By: Steve Pilon, OSIsoft Michael van der Veeken, Atos Origin Where PI geeks meet 9/23/2010

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 2 What is a web service? a software system designed to support interoperable machine-to-machine interoperable interaction over machine-to-machine a network. It has an interaction interface described in a machine WSDL processable format (WSDL). Other systems interact with the Web SOAP service in a manner prescribed by its description using SOAP messages, HTTP typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards. http://www.w3.org/tr/ws-gloss/

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 3 What is a web service? (take 2) The API of the future = Web API

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 4 Web Services Landscape SOAP Web Services REST Web Services

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 5 By definition SOAP Simple Object Access Protocol (protocol specification) REST Representational State Transfer (architectural style)

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 6 In clear SOAP Exposes methods with inputs and outputs (operation-centric) Well-defined, discoverable calling sequences Thought of as "official, serious, for large enterprises" REST Exposes resources, collections, relationships (data-centric) Open format (URI with verbs and nouns) Thought of as "easy, simple, free-form"

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 7 SOAP Web Services (a.k.a. Big Web Services) WSDL: What can you do? (contract) Client SOAP Web Service SOAP: Do something. Return data. (operation)

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 8 REST Web Services (a.k.a. RESTful) Client HTTP: Do something. Return data. REST/HTTP Verbs: GET read PUT create POST update DELETE delete REST Web Service

Representational State Transfer Nouns (Unconstrained) e.g. http://server.local/timeseries( sinusoid )?$filter=time gt *-1h and lt * Verbs (Constrained) e.g. GET Content Types (Constrained) e.g. XML Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 9

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 10 At OSIsoft SOAP PI Web Services 2010 REST Open Data Protocol (OData)??? in PI Web Services?

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 11 Web Feeds RSS Atom AtomPub Really Simple Syndication Pseudo-XML syndication format More organized, Atom publishing extended RSS protocol Fully-compliant Defines how to XML format play with the data * JSON is another type of web feed format

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 12 Open Data Protocol (OData) OData (protocol) HTTP/HTTPS (transport) AtomPub/JSON A RESTful Interface for Data (format) URI Conventions (interactions)

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 14 URL Conventions Addressing entities and sets Entity Set /AFElements Single Entity /AFElements('Pump 123') Member Access /AFElements('Pump 123')/EffectiveDate Link Traversal /AFElements('Pump 123')/Attributes Deep Access /AFElements('Pump 123')/Attributes('Flow Rate')/Value Presentation Options Sorting Filtering Paging /AFElements?$orderby=Name /AFElements?$filter=CreationDate gt '2007-05-07' /AFElements?$top=10&$skip=30

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 15 Why OData? No more silos of data Bus stops, facility buildings, schools Census data, construction projects, gas stations, hotels, metro stations

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 16 Why OData? Platform- and Language-Agnostic

Another example http://www.osisoft.com http://odata.osisoft.com/ Events, Products, Partners, etc. http://odata.osisoft.com/events /events?$filter=type eq 'Regional Seminar' /events?$filter=location eq 'San Francisco' OData for OSIsoft vcampus Live! 2010 Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 17

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 18 In the Microsoft world WCF Services SOAP WSDL WS-* WS-Security Formerly 'ADO.NET Data WCF Data Services REST HTTP AtomPub OData Services' (codename 'Astoria') Expose IQueryable collections as part of an OData Service IUpdatable for updates/deletes/inserts

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 19 File > New > OData Service Create an "OData Service" for OSIsoft vcampus Live!

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 22

PI in WCF Data Services Remember WCF Data Services expose IQueryable collections as part of an OData Service PI AF SDK exposes IQueryable collections (e.g. AFElements, AFAttributes) Difficult to achieve with PI SDK LinqToPI does this for PI data Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 23

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 24 LinqToPI?? Welcome Michael van der Veeken from Atos Origin

LinqToPI Empowers.NET developers to query the PI System using in-code, SQL-like queries Make PI "entities" IQueryable (and "OData ready") var values = from arc in context.archive.archivedata where arc.tag == tagname && arc.time.between(starttime, endtime) select arc; Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 25

Where PI Data Meets OData Create a "PI OData Service" Based on LinqToPI Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 26

Where PI geeks meet 2010 OSIsoft, LLC. All Rights Reserved 27 No More Silos of Data Query various OData feeds with a single client

Thank You! 2010 OSIsoft, LLC. All Rights Reserved