Upload
lizbeth-riley
View
216
Download
0
Tags:
Embed Size (px)
Citation preview
Lesson 6Lesson 6Building a ProxyGen Building a ProxyGen Project File Project File
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
2
OverviewOverview
When you complete this lesson you should be able to:
Create a new project file, or load an existing project file
Build the object hierarchy into the project file
Add procedures to the project file
Set preferences for ProxyGen
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
3
Where we are in the processWhere we are in the process
Covered
Not Covered
Color Key:
Build 4GLapplication
Set up JSECompiler-code
Set up WSA
UsersTasksCode
DefineClient
Interface
BuildProject
file
GenerateDefinitions
DeployDefinitions
ClientCoding
Connectand Test
Debug
Phase 1: Set Up Servers
Phase 2: Create Web Service Definitions
Phase 3: Deploy, Test and Debug
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
4
Steps in building a project fileSteps in building a project file
Step Task
1. Set preferences Set general preferences
Set preferences for Web Services
2. Build the hierarchy Create a new project file
Create the AppObject
Set the Propath
Create SubAppObjects (as needed)
3. Add procedures to the project Add persistent procedures
Add non-persistent procedures
Customize the procedures
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
5
Starting a new project fileStarting a new project file
New icon
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
6
Enter the AppObject Name and DescriptionEnter the AppObject Name and Description
AppObject name
Description
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
7
Adding a directory to the PropathAdding a directory to the Propath
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
8
Adding a SubAppObjectAdding a SubAppObject
New object is added
to the hierarchy
Enter the name here
Enter the description here
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
9
Adding proceduresAdding procedures
1. Select the directory
2. Select the file
3. Click Add
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
10
Adding all procedures in a directoryAdding all procedures in a directory
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
11
Saving the project fileSaving the project file
Save icon
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
12
Demonstration 6-1:Demonstration 6-1:Creating the OrderInfo projectCreating the OrderInfo project
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
13
Lab 6-1: Creating a projectLab 6-1: Creating a project
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
14
Customizing a procedureCustomizing a procedure
1. Go to the Procedures tab
2. Select a procedure3. Right-click and
select Customize
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
15
Changing a procedure’s nameChanging a procedure’s name
Change name here
Enter description here
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
16
Customize Procedure dialog boxCustomize Procedure dialog boxInternal Procs tabInternal Procs tab
Internal Procs tab
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
17
Setting Preferences - GeneralSetting Preferences - General
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
18
Setting Preferences - Web ServicesSetting Preferences - Web Services
Sim
plify
you
r bu
sin
ess
Sim
plify
you
r bu
sin
ess
Building a ProxyGen Project File
19
ReviewReview