marc holmes, microsoft corporationdownload.microsoft.com/documents/uk/bpm/004_-_consuming_soa... ·...

Post on 08-Apr-2018

233 Views

Category:

Documents

6 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Marc Holmes, Andy James, Jeff Johnson

Microsoft Corporation

Session Objectives

Getting Business Value from SOA

Rich UX and visualisation

Microsoft Office Platform for consuming SOA/BPM

BizTalk Server 2009 – expose capabilities

• Introduction to this session

• Consume SOA in Silverlight

• Consume SOA in MOSS

• Platform for SOA – BizTalk Server 2009

Making SOA Real...

Service orientation is about decomposing the IT assets into consumable services

Making this work for a business is about understanding what data the service provides or needs

External data also needs to be surfaced

In the real world of SOA we need to use and aggregate the data and therefore the services

To make this real we must develop what are best referred to as composite applications

Marc Holmes

Silverlight delivers

rich interactive application

experiences across browserand platform

Developers and Designerscan work together through the

common dialect of XAML

Visual

Studio

2008

Expression

Blend

Gratuitous Product Shot

Silverlight delivers .NET into the browser.

HTML

Silverlight

Communication Options

Implicit HTTP Requests

Explicit HTTP Requests

Web Service Calls

SocketsSite of Origin

Cross-Site

Cross-Site

Asy

nch

ron

ou

s A

PI’s

Transports

Serialization

WCF DataContract

XML JSONXML Serializer

HTTP(S) ( request/response )

Protocols with Client Library Support

“SOAP”SOAP 1.1 via

WCF

“REST”ADO.NET Data

Services

“Syndication”RSS 2.0 & ATOM 1.0 via

WCF

Sockets ( duplex )

Uses

We won‟t focus on implicit access

2 main classes for explicit access

WebClient offers simple GET/POST

HttpWebRequest offers more control

Browser API‟s limit HTTP verbs to GET/POST

Only basicHttpBinding is “in the box”SOAP 1.1, XML, HTTP(S)

not WS-Security, WS-Trust etc.

Derived PollingDuplexHttpBinding for duplex

Uses WS-Make Connection for polling over HTTP

Familiar Programming modelClient side object model

Configuration file - loaded from the XAP

“Add Service Reference” tooling in Visual Studio

ADO.NET Data ServicesRESTful services from .NET Framework V3.5 Sp1

Tunnels PUT/DELETE via POST to avoid the browser API HTTP limitation

AJAX Services, RSS, ATOM and Other Services

Use WebClient/HttpWebRequest

Serialize/De-serialize data with;XmlSerializer, DataContractSerializer, DataContractJsonSerializer

SyndicationFeed, Rss20FeedFormatter, Atom10FeedFormatter

www.server1.com

Requests Page with SilverlightApplication

www.server2.com

App Requests Cross-Site Resourcehttp://www.server2.com/vroot/foo.xml

clientaccesspolicy.xml

Framework attempts to accesshttp://www.server2.com/ looking for

crossdomain.xml

Framework falls back to accesshttp://www.server2.com/ looking for

<access-policy>...<grant-to />..

</access-policy>

CheckPolicy

Client can connect

Client cannot listen

Connect

port 4502

Fixed port range4502 - 4534

Framework uses a well known port943 and sends an XML (UTF8) request fora client access policy

<policy-file-request/>

4502

943

<access-policy>...<grant-to 4502/>..

</access-policy>response

<access-policy>...<grant-to 4502/>..

</access-policy>

CheckPolicy

async, duplex comms

Andy JamesCTOSolidSoft

What is a composite application?

“A collection of software assets that have been

assembled to provide a business capability”

Or

“Composed of a number of discrete and

independent pieces, aggregating functionality

through a software interface”

Fusion

Applications

Services

Databases

Smart Client

Integration

Fuse and relate

disparate information

2

1 Combine data from

any source

Present in an interactive,

composite UI

3

Compose User Interaction

Compose Business Transaction

ConsumeUser Directed

ExposeExisting Systems

Presentation Services

Collaboration Services

Composition Services

Business

Process

Services

Information

Integration

Services

Messaging

Services

Connectivity Services

Security

and Id

entity

Managem

ent a

nd G

overn

ance

Desig

n a

nd D

evelo

pm

ent

Compose User Interaction

Compose Business Transaction

ConsumeUser Directed

ExposeExisting Systems

Presentation Services

Collaboration Services

Composition Services

Business

Process

Services

Information

Integration

Services

Messaging

Services

Connectivity Services

Security

and Id

entity

Managem

ent a

nd G

overn

ance

Desig

n a

nd D

evelo

pm

ent

BizTalk Server, WCF

BizTalk Server

WFSQL Server

BizTalk Server

Windows

WCF

SharePoint Server, WF, CAB

SharePoint Server & Live Communications Server

SharePoint Server, .NET CF, ASP.NET/AJAX,

Silverlight, WPF

Activ

e D

irecto

ry

Syste

m C

ente

r, MO

F, P

artn

ers

Visu

al S

tudio

. Patte

rns &

Pra

ctic

es, M

SF

Case Study

• This case study looks at the business process to update

customer details

Customer details are “mastered” in an existing LOB

ERP/financial system

Any employee can start the process to update a

customer‟s details, but the changes are checked,

moderated and approved in the process

The change to the master record is made without directly

accessing the LOB system

MOSS 2007 is used as a „consumer‟

Case Study

Summary

Composite applications deliver solutions that

leverage SOA

Composite applications equate to LOB applications

Composite applications allow business to maximise

data and information

With MOSS 2007, BizTalk 2009 and Visual Studio we

can deliver composite applications

Jeff JohnsonTechnical SpecialistMicrosoft

To

ols

, F

ram

ew

ork

s, S

DK

s

Metadata:

POX

REST

JSON

RSS/ATOM

Application Platform

Virtualization(Windows Server 2008, Hyper-V,SQL Server 2008)

Increased Developer Productivity (Visual Studio 2008)

Application Lifecycle Management Enabled(VSTS, TFS, MSBuild)

SOA InfrastructureEnhancements

Enhanced Interoperability(UDDI 3.0, EDI/AS2, BizTalk Adapter Pack 2.0, HIS 2009)

ESB and Service Enablement Guidance(ESB Guidance v2.0)

Better Business Visibility(RFID, BAM)

Addresses the following areas: How can services be found?

How do I know what a web service does?

Which services are production ready?

Is there a web service I can re-use?

UDDI Registry Services: Organize, Describe, Discover

Integrate, Re-use, Extend

Upgraded to the latest platform (SDK)

Two new adapters:

SQL Server adapter

Oracle eBusiness Applications adapter

Includes enhancements to existing adapters

Alignment with BizTalk 2009 release

Prescriptive Guidance for applying ESB usage Patterns

Simplified ESB Installation/Configuration tool

Itinerary modeling using DSL

Enhanced ESB Management Portal

Resolver-adapter Pack (LDAP, SQL, other)

BizTalk RFID extended to Mobile Devices Runs on handhelds and forklift readers

Integrates with BizTalk Server

Support for key industry standards Enables using new readers with LLRP

Machine readable tag data standards (TDT for EPC)

Web Services for device management and Discovery, Configuration, Initialization (DCI)

BizTalk provides interoperability platform

BizTalk 2009

Office, MOSS provide great SOA consumption platform

Silverlight provides next web, rich internet application platform

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

top related