Transcript Slide 1
GDT V5 Web Services 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 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut CGI Common 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 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut CGI Common 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 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut CGI Common 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 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut CGI Common Gateway Interface GDT Console GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut CGI Common Gateway Interface DEMONSTRATION GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut 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 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut The Setup of the GATEWAY in GDT GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Connecting to the Service GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Setting the Method to Request GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Setting the Request Parameters GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Invoke the Service GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Pulling information from the feed Next screen shows this. GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Pulling information from the feed GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Pulling information from the feed Move captured information to a Report GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut The resulting Report GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut RSS FEED VIA BATCH PROGRAM DEMONSTRATION GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut SOAP calls with C2O GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut SOAP calls with C2O GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut SOAP calls with C2O GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut Reviewing the Results Or simply extract the information into C2O variables for use by other processes. GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut SOAP calls with C2O DEMONSTRATION GDT 2008 International User Conference August 10 – 13 Lake Las Vegas, Nevada GDT V5 Web Services Doug Evans and Detlef Lexut