gdt v5 web services. gdt v5 web services doug evans and detlef lexut gdt 2008 international user...
TRANSCRIPT
GDT V5 Web Services
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
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.
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.
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
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
CGICommon Gateway Interface
GDT Console
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
CGICommon Gateway Interface
DEMONSTRATION
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”.
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
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
Connecting to the Service
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
Setting the Method to Request
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
Setting the Request Parameters
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
Invoke the Service
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.
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
Pulling information from the feed
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
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
The resulting Report
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
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
SOAP calls with C2O
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
SOAP calls with C2O
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
SOAP calls with C2O
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.
GDT V5 Web ServicesDoug Evans and Detlef Lexut
GDT 2008 International User ConferenceAugust 10 – 13 Lake Las Vegas, Nevada
SOAP calls with C2O
DEMONSTRATION