gdt v5 web services. gdt v5 web services doug evans and detlef lexut gdt 2008 international user...

23
GDT V5 Web Services

Upload: joseph-davis

Post on 28-Dec-2015

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web Services

Page 2: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

GDT V5 Web Services

CGI (Common Gateway Interface) (Requires GDT V5.0)

RSS – “Really Simple Syndication” – WEB feed formats (Requires GDT V5.0)

C2O interacts with Web Services through SOAP calls (Does not require GDT V5.0)

Demonstrations Submitting a Batch job through the GDT Console

via CGI Accessing RSS feed via a Batch program to return

information to a Batch Report

Page 3: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

CGICommon Gateway Interface

Server extension that extends capabilities of Web Servers. Lets Web Clients request information from Web

Servers The process:

User fills out a form that is submitted to the Server. The Server uses the submitted information to query

a database or as input to a program. There is NO Back and Forth information between

the server and the client User must fill out the form and submit it Blank fields with incorrect information must be detected

and client asked to resubmit the form.

Page 4: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

CGICommon Gateway Interface

CGI only allows data to be input Processes the data, produces output and

terminates CGI provides the 2 way interface between the

Web Clients and Web Servers and the CGI Script is the set of commands that determine what happens when they communicate

CGI consists of the following CGI Control Tags and Field specifiers to be placed

in the HTML documents The flow of the information between client, server

and script.

Page 5: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

CGICommon Gateway Interface

Micro Focus IDE provides the tools via the Internet Application Wizard Create the HTML form and add Tags that define the

input boxes, drop-down list boxes and buttons that appear on the forms to collect input from the users

Create the CGI Script to accept the input that the end user types on the HTML form and do something with it like query a database or input to a program.

Reduces the amount of effort involved in creating server-side programs

Server-side programs can easily be generated from existing COBOL programs

Page 6: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

CGICommon Gateway Interface

GDT Console

Page 7: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

CGICommon Gateway Interface

DEMONSTRATION

Page 8: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

RSS

RSS Document called a "feed," "web feed” or "channel” contains either a summary of content from an

associated web site or the full text makes it possible for people to keep up with web

sites in an automated manner that can be piped into special programs or filtered displays

A standardized XML file format allows the information to be published once and viewed by many different programs.

GDT V5.0 software Had to become a "RSS reader," "feed reader”.

Page 9: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

The Setup of the GATEWAY in GDT

Page 10: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Connecting to the Service

Page 11: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Setting the Method to Request

Page 12: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Setting the Request Parameters

Page 13: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Invoke the Service

Page 14: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Pulling information from the feed

Next screen shows this.

Page 15: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Pulling information from the feed

Page 16: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Pulling information from the feed

Move captured information to a Report

Page 17: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

The resulting Report

Page 18: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

RSS FEED VIA BATCH PROGRAM

DEMONSTRATION

Page 19: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

SOAP calls with C2O

Page 20: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

SOAP calls with C2O

Page 21: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

SOAP calls with C2O

Page 22: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

Reviewing the Results

Or simply extract the information into C2O variables for use by other processes.

Page 23: GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT

GDT V5 Web ServicesDoug Evans and Detlef Lexut

GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada

SOAP calls with C2O

DEMONSTRATION