Json and REST in the BizTalk World

Preview:

Citation preview

INTEGRATION DAY 2015

Steef-Jan WiggersJSON and REST in the BizTalk World

Steef-Jan Wiggers

Microsoft Integration Consultant• Microsoft Integration MVP• Published Author• (Inter)national Speaker• TechNet Wiki Author• Classroom Instructor• Blogger• Forums• Runner• 12th Man

DutchWorkz B.V.

Announcement.....

Under investigation!

Why this talk?

ToFrom

CAPEXPC/WebKeyboard/MouseData from users and customersTransacted local workflowRun in one data centerData centralized

OPEXRuns on mobile deviceTouch, voice and sensorsData from people, devices & systemsOrchestrated global servicesHybrid cloud realityData Distributed

The New Hybrid World

BizTalk Server

serversmainfram

edatabase

sapplication

s

Your Data Center

Service BusApp Service

PartnersSaaSApps

Windows Azure

SOAP/XML

REST/JSON

Modern integration Enterprise apps on-premises and in cloud Many different endpoints Integration is key

Enterprise B

Enterprise A

Integration for the coming years

Multiple reasons for on premise integration to continue

Many mission critical applications that are hard to redesignand/or migrate

Focus on application integration instead of infrastructure

Connect to the Cloud

REST and JSONRepresentational State Transfer

HTTP METHODS: GET, POST, PUT, DELETE

Resources: Data, files, methods

Where: URL

based

How: HTTP

What: Up to you

• JavaScript Object Notation– Fast, less verbose, evaluate

{ "firstName": "John", "lastName": "Smith", "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": 10021 }, "phoneNumbers": [ "212 555-1234", "646 555-4567" ] }

Name/Value Pairs

Number data typeString

Array

Child properties

Demo

Client

Message Sender

Airport Application BizTalk Server 2013 R2

Message Reciever

WCF-BasicHttpWCF-WebHttp

http://www.faa.gov/airports/

REST

json

jsonxml

Archive Pipeline

Tracking

Message Sender

Lastfm client BizTalk Server 2013 R2

Message Reciever

WCF-BasicHttp WCF-WebHttp

REST

SOAP/XML

Json or XML LastFm API

Demo

DEMO SummaryProtocol mediation:

SOAP to REST

Different formatsJSON to XML

BehaviourConsuming a REST EndpointInteraction with Cloud API

Demo

BizTalk Server 2013 R2

ODS

Web page

Gather/Enrich

DEMO SummaryMore complex hybrid scenario

Particular role for BizTalk ServerMany variations possibleData enrichment/distribution

BizTalk Server 2013 R2JSON SupportEvolved product from connectivity view point

Hybrid scenariosLeveraging Cloud API’sNew ways of integration

Recap

INTEGRATION DAY 2015

Thank you and have great day!

Recommended