copyright 2007, information builders. slide 1 introduction to web services efrem litwin director,...

42
Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Upload: brodie-dale

Post on 31-Mar-2015

222 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 1

Introduction to Web Services

Efrem LitwinDirector, WebFOCUS Integration Products

Information Builders

Page 2: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 2

Introduction to Web Services

What is a Web Service?Web Service Components (WSDL, UDDI , SOAP)Web Services AdapterWebFOCUS Web Services FunctionalityWebFOCUS Web Services WSDL CreationReportCaster Web Services FunctionalityReportCaster Web Services WSDL CreationXignite Web Services

Agenda

Page 3: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 3

What is a Web Service?

A self-contained, modular application that can be described, published, located, and invoked over the Web.

Platform-neutral and based on open standards, Web Services can be combined with each other in different ways to create business processes that enable you to interact with customers, employees, and suppliers.

Definition

Page 4: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 4

What is a Web Service?

Web Services use the Web to perform application-to-application integration

Web Services are business process interfacesEach Web Service is a point of interaction to give

input and receive output from a business process

Allow previously incompatible applications to interoperate on the Web regardless of language, platform, and operating systems

A standalone function that can be called by many different applications

Basic Concepts

Page 5: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 5

What is a Web Service?

Reduce complexity by encapsulating business processes into reusable components

Improve interoperability by acting as a wrapper around legacy or platform-specific applications

Promote true interoperability through platform and implementation neutrality

A Web service can be self-describing (WSDL,UDDI)Develop applications much faster than beforeA Web Service is a simple, reliable way to blend

existing systems with new applications and services

Usage Benefits

Page 6: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 6

What is a Web Service?

Travel Web Site Example

Page 7: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 7

What is a Web Service?Travel Web Site Example

Page 8: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 8

What is a Web Service?Travel Web Site Example

Page 9: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 9

What is a Web Service?Travel Web Site Example

Page 10: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 10

What is a Web Service?Inter-Department Example

Page 11: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 11

Web Service Components

Web Services Description Language (WSDL)The standard format for describing a Web Service.

Expressed in XML, a WSDL definition describes how to access a Web Service and what operations it will perform

A WSDL document provides information on the data being exchanged, the sequence of messages for an operation, protocol bindings (HTTP), and the location of the service

A WSDL document defines services as a collection of endpoints (location within a context to which remote service requests can be directed)

WSDL

Page 12: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 12

Web Service ComponentsWSDL - Example

Page 13: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 13

Web Service Components

Universal Description Discovery and Integration (UDDI)

UDDI is an XML-based registry for businesses worldwide to list themselves on the Internet for Web Services and for other electronic and non-electronic services

Allows businesses to list themselves by name, product, location, or the Web Services they offer

(Yellow Pages)Service consumers can use UDDI to discover

services that suit their requirements

(www.xmethods.net)

UDDI

Page 14: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 14

Web Service ComponentsUDDI - www.xmethods.net

Page 15: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 15

Web Service ComponentsUDDI - www.xmethods.net - WSDL

Page 16: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 16

Web Service Components

Simple Object Access Protocol (SOAP)A way for a program running in one operating system to

communicate with a program in the same or another operating system

A standard for exchanging XML based messages (Request/Response) normally using HTTP

SOAP Envelope identifies an XML document as being a SOAP message and encapsulates all the other parts of the message

SOAP Header is optional and can be used to extend the message syntax independently for a particular application

SOAP Body where application specific data is placed. Encoding rules of the Envelope describe what syntax was used to encode data in the Body.

SOAP

Page 17: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 17

Web Service ComponentsSOAP - Request

Page 18: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 18

Web Service ComponentsSOAP - Response

Page 19: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 19

Web Services Adapter

Released with WebFOCUS 5.3Web Services Adapter allows WebFOCUS to directly

interact with a Web ServiceAble to create a report to read data returned from a

Web ServiceAble to pass parameters to a Web Service for

reportingAble to pass parameters to a Web Service for

updating data within an applicationAble to consume a WSDL fileJoin Web Services to Other Web Services or other

Tables (eg. SQL Server, ORACLE, Teradata)

Basic Functionality

Page 20: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 20

Web Services Adapter

Reads a WSDL file and creates the Connection information in EDASPROF

Reads a WSDL file and creates the Master and Access file for a particular Web Service function

New suffix: Suffix=SOAP1st Segment of the Master contain the input

parametersData Types get mapped to default Formats (USAGE

and ACTUAL)Arrays of output get mapped to multiple segments

Consuming a WSDL File

Page 21: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 21

Web Services Adapter

Data Type USAGE ACTUALstring A30 A30

Double D20.2 A20

float F15.2 A15

decimal P20.3 A20

int I11 A11

short I6 A6

long P20 A20

boolean A5 A5

dateTime HYYMDm A27

Data Type Mappings

Page 22: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 22

Web Services AdapterLocate a WSDL File

Page 23: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 23

Web Services AdapterAdd a Connection

Page 24: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 24

Web Services AdapterChoose an Endpoint for the Web Service

Page 25: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 25

Web Services AdapterCreate Metadata (Master and Access Files)

Page 26: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 26

Web Services AdapterCreate Metadata – Choose Operations

Page 27: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 27

Web Services AdapterMaster File Description Example

Page 28: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 28

Web Services AdapterAccess File Example

Page 29: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 29

Web Services AdapterSample Data

Page 30: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 30

Web Services AdapterSample Data Report

Page 31: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 31

WebFOCUS Web Services Functionality

Released with WebFOCUS 5.2Run any WebFOCUS Report as a Web

Service functionOutput is returned in the format defined in the

WebFOCUS report (eg. HTML, EXCEL, PDF, XML)

Run a WebFOCUS Report using a generic WebFOCUS Web Service function

Find out parameters for a WebFOCUS ReportSupport for drill-down reports

Overview

Page 32: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 32

WebFOCUS Web Services Functionality

Support for Graphs (PNG,SVG,JPEG,GIF)

Managed Reporting Security maintenance

Managed Reporting Domain/Folder/Report Maintenance (Create,Rename,Delete)

Get a list of values for a Field

Get the status of deferred reports

Overview (Cont’d)

Page 33: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 33

WebFOCUS Web Services WSDL Creationhttp://machine name/ibi_html/workbnch/webservice.htm

Page 34: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 34

WebFOCUS Web Services WSDL CreationWSDL File

Page 35: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 35

WebFOCUS Web Services FunctionalityVB .NET – Running a WebFOCUS Report – Finding Parameters

Page 36: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 36

ReportCaster Web Services Functionality

Released with WebFOCUS 5.3Schedule any WebFOCUS ReportGet a List of Schedules and Schedule InfoAddress Book MaintenanceReportCaster Security MaintenanceReport Library IntegrationReport Library Access MaintenanceGet a List of Running Jobs

Overview

Page 37: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 37

ReportCaster Web Services Functionality

List Jobs in QueueChange Job PriorityView Job LogLog Maintenance

Overview (Cont’d)

Page 38: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 38

ReportCaster Web Services WSDL Creationhttp://machine name/rcaster/services

Page 39: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 39

ReportCaster Web Services FunctionalityVB .NET – Scheduling a Report

Page 40: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 40

ReportCaster Web Services WSDL Creationhttp://machine name/rcaster/services

Page 41: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 41

ReportCaster Web Services WSDL CreationWSDL File

Page 42: Copyright 2007, Information Builders. Slide 1 Introduction to Web Services Efrem Litwin Director, WebFOCUS Integration Products Information Builders

Copyright 2007, Information Builders. Slide 42

Xignite

Xignite Web Services

www.xignite.com