copyright 2007, information builders. slide 1 introduction to web services efrem litwin director,...
TRANSCRIPT
Copyright 2007, Information Builders. Slide 1
Introduction to Web Services
Efrem LitwinDirector, 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
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
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
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
Copyright 2007, Information Builders. Slide 6
What is a Web Service?
Travel Web Site Example
Copyright 2007, Information Builders. Slide 7
What is a Web Service?Travel Web Site Example
Copyright 2007, Information Builders. Slide 8
What is a Web Service?Travel Web Site Example
Copyright 2007, Information Builders. Slide 9
What is a Web Service?Travel Web Site Example
Copyright 2007, Information Builders. Slide 10
What is a Web Service?Inter-Department Example
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
Copyright 2007, Information Builders. Slide 12
Web Service ComponentsWSDL - Example
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
Copyright 2007, Information Builders. Slide 14
Web Service ComponentsUDDI - www.xmethods.net
Copyright 2007, Information Builders. Slide 15
Web Service ComponentsUDDI - www.xmethods.net - WSDL
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
Copyright 2007, Information Builders. Slide 17
Web Service ComponentsSOAP - Request
Copyright 2007, Information Builders. Slide 18
Web Service ComponentsSOAP - Response
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
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
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
Copyright 2007, Information Builders. Slide 22
Web Services AdapterLocate a WSDL File
Copyright 2007, Information Builders. Slide 23
Web Services AdapterAdd a Connection
Copyright 2007, Information Builders. Slide 24
Web Services AdapterChoose an Endpoint for the Web Service
Copyright 2007, Information Builders. Slide 25
Web Services AdapterCreate Metadata (Master and Access Files)
Copyright 2007, Information Builders. Slide 26
Web Services AdapterCreate Metadata – Choose Operations
Copyright 2007, Information Builders. Slide 27
Web Services AdapterMaster File Description Example
Copyright 2007, Information Builders. Slide 28
Web Services AdapterAccess File Example
Copyright 2007, Information Builders. Slide 29
Web Services AdapterSample Data
Copyright 2007, Information Builders. Slide 30
Web Services AdapterSample Data Report
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
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)
Copyright 2007, Information Builders. Slide 33
WebFOCUS Web Services WSDL Creationhttp://machine name/ibi_html/workbnch/webservice.htm
Copyright 2007, Information Builders. Slide 34
WebFOCUS Web Services WSDL CreationWSDL File
Copyright 2007, Information Builders. Slide 35
WebFOCUS Web Services FunctionalityVB .NET – Running a WebFOCUS Report – Finding Parameters
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
Copyright 2007, Information Builders. Slide 37
ReportCaster Web Services Functionality
List Jobs in QueueChange Job PriorityView Job LogLog Maintenance
Overview (Cont’d)
Copyright 2007, Information Builders. Slide 38
ReportCaster Web Services WSDL Creationhttp://machine name/rcaster/services
Copyright 2007, Information Builders. Slide 39
ReportCaster Web Services FunctionalityVB .NET – Scheduling a Report
Copyright 2007, Information Builders. Slide 40
ReportCaster Web Services WSDL Creationhttp://machine name/rcaster/services
Copyright 2007, Information Builders. Slide 41
ReportCaster Web Services WSDL CreationWSDL File
Copyright 2007, Information Builders. Slide 42
Xignite
Xignite Web Services
www.xignite.com