160 likes | 368 Views
Lesson 4 Introduction to ProxyGen. Overview. When you complete this lesson you should be able to: Define what a proxy is Describe what a Web Service definition is and how it is used by client application programmers Describe ProxyGen and how it is used List the inputs and outputs of ProxyGen.
E N D
Overview When you complete this lesson you should be able to: • Define what a proxy is • Describe what a Web Service definition is and how it is used by client application programmers • Describe ProxyGen and how it is used • List the inputs and outputs of ProxyGen
Proxies are substitutes • Pieces of code in another language • Act like your procs and functions • Called by the client programmer from information you provide
What does the client developer need? .p files? .r files? Web Services client X
You provide a WSDL file .p files? .r files? ProxyGen tool WSM file WSDL file
Developer creates proxies from the WSDL proxy code (from WSDL) Web Services client
What is ProxyGen? • ProxyGen is a tool for creating proxies and Web Services definitions • Part of OpenEdge Studio • A development tool that: • Maps 4GL code to an open client interface • Then generates proxies or definitions
Object mappings and preferences ProxyGen process .r files .xpxg file definition files log file
Object mappings and preferences Step 1: Inputs – Design time
Step 1: Outputs – Design time .xpxg file
Object mappings and preferences ProxyGen Design process .xpxg file
Step 2: Inputs – Gen time .r files .xpxg file
Step 2: Outputs – Gen time definition files log file
Generation process .r files .xpxg file definition files log file
Object mappings and preferences ProxyGen – all the pieces .r files .xpxg file definition files log file