Top Banner
Web Services
50

Web Services

Jan 14, 2016

Download

Documents

ilyssa

Web Services. Business Operation running on Global Network. Agenda. Industry Challenges Web Services SOA Standards & Specifications Development Tools Summary Q&A. Industry Challenges. Legacy Systems and Applications Upgrading/Modifying the existing code. Where is All This Headed?. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Web Services

Web Services

Page 2: Web Services

Business Operation running on Global Network

Page 3: Web Services

Agenda

Industry Challenges Web Services SOA Standards & Specifications Development Tools Summary Q&A

Page 4: Web Services

Industry Challenges

Legacy Systems and Applications

Upgrading/Modifying the existing code

Page 5: Web Services

Where is All This Headed?

Internet Phase 1

Communication Platform

Internet Phase 2

Information Platform

Internet Phase 3

Application Platform

• Person-to-Person

• e-mail, FTP, Gopher

• Person-to-Server

• Browser, HTML, HTTP

• Server-to-Server

• XML, SOAP, WSDL

Page 6: Web Services

Where is All This Headed? What is the Transactional Web

Today: “The Eye-Ball Web”The Architecture of the Web is geared towards

delivering information visually

Tomorrow: “The Transactional Web”The Architecture of the Web geared towards

intelligently exchanging information between applications

Page 7: Web Services

• We Are At The End Of The Pioneer Phase• Internal Web Services Are Deployed!• Commercial Web Services Are Emerging

•Key Standards WS-* Are Still Maturing•Toolkits are Maturing

Web Services Are Coming!

Page 8: Web Services

Web Services

What is Web Service?

WSDL SOAP UDDI

Architecture

Page 9: Web Services

What is Web Services?

“Loosely coupled software components that interact with one another dynamically via standard Internet technologies” – Gartner

“Automated connections between people, systems and applications that expose elements of business functionality as a software service and create new business value” – Forrester Research

Page 10: Web Services

What is Web Service?

Provides a unit of work as part of Business Process

Performs a Business function

Designed to support interoperable machine-to-machine interaction over a network

Communicates with clients through standard protocols and technologies, called Web services.

Page 11: Web Services

Web Service

HTML

XML

Database

Application server

HTTP client

Web

presentation

Businesslogic Web

service

Page 12: Web Services

Web Services Vs Web Applications

Web Services

• XML/SOAP

• Program-to-program interaction • Static or dynamic integration

• Re-usable service

Web Application

• HTML

• User-to-program interaction • Static integration of components

• Single use service

Page 13: Web Services

Conceptual Diagram

Service Requestor Service Provider

Service Registry

Service Service Desc

Service Desc

Publish Find

Bind

Page 14: Web Services

Web Services Technologies

WSDL

Web Service Client

(J2EE, .NET, PL/SQL ….)

Web Service(J2EE, PL/SQL,.NET, C/C++,

Legacy …)

UDDIRegistry

SOAP

Describes Service

Points to description

Finds Service

Points to service

Invokes with XML Messages

Page 15: Web Services

Web Service Standards

Web service standards can be defined in terms of the following:

Simple Object Access Protocol (SOAP) Web Services Description Language (WSDL) Universal Description, Discovery and Integration

(UDDI)

Page 16: Web Services

SOAP : XML Messaging for Web Services

SOAP : Is an XML- based protocol for exchanging data Represents requests and responses as XML messages Hides details of implementation Works with :

Any Programming Language Any Hardware and Software platform

Client

Request (SOAP)

Web service

Response (SOAP)

Page 17: Web Services

Web Services Description Language

A WSDL document is an XML

document that describes:What the service doesHow the service is accessedWhere the service is located

It defines the messages and the operations of a service abstractly in XML.

Types

Messages

Port types

Bindings

Services

WSDL document structure

WSDL document

Page 18: Web Services

UDDI Registry

The Universal Description, Discovery and Integration (UDDI) registry: Is an online electronic registry for registering

business and Web services Is a specification for description and discovery Supports Publishing and Inquiry APIs to publish and

query a Web service

Page 19: Web Services

Web Service Architecture

WSILbrowser

Web service

Serviceimplementation

Interface(WSDL)

Internet

Send response(SOAP)Web service

client application

Web servicesdirectory

Register (UDDI)

Find(UDDI)

123

4

5

LocateFind

GenerateWSDL

Page 20: Web Services

Web Service Development Approach

There are two approaches:

Top-down approach Generate the Web Service from an existing WSDL file. Server-side and Client-side development can be done simultaneously

Bottom-up approach Generate the Web Service by using the existing code It requires little or no knowledge of WSDL or XML

Page 21: Web Services

Top-down Approach

Web serviceclient development

Web servicedevelopment

Web service client

Web service implementation

WSDL-to-JavaWSDL-to-Java

WSDL

XSD schemas

Generate Java artifacts

Generate Java artifacts

1

22

1

Page 22: Web Services

Bottom-up Approach

Web serviceclient development

Web servicedevelopment

Web service clientJava class/EJB

Java-to-WSDL

WSDL Generate Java artifacts

1

21

2

WSDL-to-Java

Page 23: Web Services

SOA

Evolution SOA and Web Services Architecture SOA Components SOA Life Cycle SOA Governance SOA Security

Page 24: Web Services

Oracle SOA Evolution

Portlet Web Services (WSRP)Portlet Web

Services (WSRP)

Web Services Support

Web Services Support

2002 20042003 20062005

BPEL Process Manager

BPEL Process Manager

J2EE 1.4 Standard Web Services

J2EE 1.4 Standard Web Services

WSDL, UDDI, Development Tools, Expanded Web Services

Platform

WSDL, UDDI, Development Tools, Expanded Web Services

Platform

ServiceRegistry

ServiceRegistry

Web Services Manager, BAM

Web Services Manager, BAM

BPASuite

BPASuite

2007

OracleData

Integrator

OracleData

Integrator

Stellent Doc Mgmt, Image

Proc

Stellent Doc Mgmt, Image

Proc

TangosolTangosol

…2008

WebLogic

ALSB

Repository

ALBPM

Event Server

WebLogic

ALSB

Repository

ALBPM

Event ServerWith each new release:

•Extend Capabilities

•Further Integrate

SOA SuiteSOA Suite

Page 25: Web Services

SOA and Web Services

Web Service is the enabling technology for SOA value realization Key elements of a SOA include services, interfaces and

componentization all of which can be realized leveraging Web Services technologies

Standards based Cross platform Cross language Widely supported

Web ServicesDirectory (UDDI)

Web ServicesProvider

Web ServicesConsumer

WebServices

Publish(WSDL)

SecureManage

Access(SOAP/HTTP)

Locate(UDDI)

Page 26: Web Services

Service-Oriented Architecture

WSDL

WSDL

SOAPSOAP

ServiceConsumer

ServiceConsumer

ServiceProviderServiceProviderhttp://hostname/service.wsdl

<xml> data </xml>

ServiceRegistryServiceRegistry

UDDIUDDI

Find Publish

Page 27: Web Services

Service-Oriented Architecture

WebService

#1

WebService

#1

WebService

#4

WebService

#4

WebService

#2

WebService

#2

WebService

#3

WebService

#3

Page 28: Web Services

Service-Oriented Architecture

WebService

#1

WebService

#1

WebService

#4

WebService

#4

WebService

#2

WebService

#2

WebService

#3

WebService

#3

Enterprise Service Bus

Page 29: Web Services

Service-Oriented Architecture

WebService

#1

WebService

#1

WebService

#4

WebService

#4

WebService

#2

WebService

#2

WebService

#3

WebService

#3

Enterprise Service Bus

Business Process OrchestrationBusiness Process Orchestration

Page 30: Web Services

J2EE Application Server(Oracle AS, JBoss, WebLogic, WebSphere)Messaging

Apps

AdaptersAdapters B2B B2B

PartnersDB Legacy

CONNECTIVITY

Routing Transform DataQuality

ETL &Replication

Data IntegratorData IntegratorESBESB

Mediation

ROUTING & DATA SERVICES

NativeBPEL

Business Rules

Human Workflow

BPEL Process ManagerBPEL Process Manager

ORCHESTRATION GOVERNANCE

UDDI

DiscoveryPolicies

WS Policies

Security

Web Services Web Services ManagerManager

RegistryRegistry

System Monitoring

Enterprise Enterprise ManagerManager

EventsBusiness Monitoring

BAMBAM BusinessBusinessIntelligenceIntelligence

Analytics

MANAGEMENT&

MONITORING

ApplicationDevelopmentFramework

AnalystTools

BPABPASuiteSuite

JDeveloperJDeveloper

SOA Architecture

Page 31: Web Services

SOA Components

BPEL ESB BAM BPA Business Rules BI WSM

BAM OWSM ESBADAPTERS

RoutingTransformation

Messaging Rules

ESB

BPEL PM

Page 32: Web Services

SOA Life Cycle

Orchestrate

Manage

Secure

Monitor

Develop

Integrate

Page 33: Web Services

Oracle SOA Suite

Orchestrate

Integrate

Manage

Secure

Monitor

Develop

BAM

Web Services Manager

BPEL Process Manager

BPEL Console

MANAG

E

DEHYDRATE

J 2EE Application Server(WebLogic, Oracle AS, J Boss, WebSphere)

Core BPEL Engine

WSDL Binding Built-in Integration Services

J CA

Web Service

J MS

Email

XQuery XSLT UserTasks

BPEL

Eclipse, J Developer

BPEL Designer

ORACLE DB

BPEL Process Manager

BPELJ

Oracle ESB

Adapters

Jdeveloper 10GADF 10G

Page 34: Web Services

Developing Orchestrations

Services

<process> <sequence> <receive … /> <invoke … /> </sequence></process>

<process> <sequence> <receive … /> <invoke … /> </sequence></process>

Design Tool

BPEL Process

Orchestration Engine

Process Designer

Publishes To

.NET

Java

Siebel

Page 35: Web Services

Executing Orchestrations

<process> <sequence> <receive … /> <invoke … /> </sequence></process>

<process> <sequence> <receive … /> <invoke … /> </sequence></process>

Loan Service(Orchestration)

Credit ValidationService

Loan Service 1

LoanService 2

You’re approved!

Page 36: Web Services

SOA Governance

Is an emerging discipline for control and management of SOA implementation

Provides guidelines for transition of IT systems from silos to integrated systems using SOA technology

Needs to be viewed from: A design-time perspective (business requirements, risks,

policies, standards) A run-time perspective (technology, monitoring, life cycle)

SOA Governance is the “ability” to ensure that efforts come together to meet enterprise requirements for SOA

Driven by business Executives Governed by policies and standards

Page 37: Web Services

Essence of SOA Governance

Governance with SOA addresses: WHAT decisions must be made for effective

management? WHO should make decisions and has input rights? HOW must the decisions be formed and enacted?

Policies (What)

Decisions (Who) Processes (How)

Page 38: Web Services

SOA Governance ..Final Note

Adhering to Standards Publishing and Identifying Services Monitoring and Tracking Services Creating and Enforcing Contracts & SLA Managing Services

Page 39: Web Services

SOA Security

Policy-Driven Security Identity Management Real-Time Monitoring Threat Awareness Standards Based

Page 40: Web Services

Order Booking SOA DemoFocus on OSB, Rules, Workflow, BPEL

SHOPPING PORTAL

Web

Serv

ices I

nte

rface:

XM

L,

SO

AP

, W

SD

L,

WS

IF

EJB 3.0Customer service

ProductSuppliers

Order DB

Approval(Rich Workflow)

NotificationService

Order Booking BPEL PROCESS

receive

Insert Order

end

getCustInfo

SelectMfr RapidMfr

5-15 min

invoke

receive

invoke

receive

ManualReview

?

Fulfill Order

Notify Cust

OSB

RulesEngine

Rule Author

Rulesrepository

DecisionService

FedExUSPS

OSB

Operational dashboard

BAM

Page 41: Web Services

Standards & Specifications

Page 42: Web Services

Development Tools

Page 43: Web Services

Use Cases …(Real Time)

GE Real Estate Wells Fargo StateStreet Bank Sun Motorola

Page 44: Web Services
Page 45: Web Services
Page 46: Web Services
Page 47: Web Services

L2 (LCOM) R12

L3 (iSC)

11.i.10

Use Case 1 – Direct Ship (Step One)

Business Event

Sales Order is created in L2 and Booked. Upon booking, an

event is raised.

Application Base Table

Application Base Table

Access Interface View to extract data

Transform from L2 to

EBS

ABCS

AIA 2.2

Transform to L3

Object

Insert into Interface

table

ABCS

Call concurrent program

Receive Business

Event

Oracle Applications Adapter is used for all access to E-Business Suite

SalesOrderEBO

EBM

EBS

EBM

EBS

Page 48: Web Services

Q&AQ U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

Page 49: Web Services

XML

What is XML? XML Schema XPath XSLT

Page 50: Web Services

XML

eXtensible Markup Language It is a Markup Language much like HTML It is designed to carry data, not to display These are not predefined tags It is self descriptive W3C recommended