Provides step-by-step instructions to generate all required components of the LOANPAYM Web service from the LoanDemo project.
                  
                  	  
               
            
 
            	  
            	 
            
                Create a Service Interface 
 
               		 
               		
                Map the input and output data areas of the LOANPAYM program. 
                  		
               
 
               		
                
                  		  
                  - From the 
                     			 Solution Explorer, right-click the 
                     			 LoanDEMO project; then click 
                     			 Add > 
                     			 New Item. 
                     		  
                  
- In the left pane, expand 
                     			 COBOL > Native; then click 
                     			 Mainframe Subsystem. 
                     		  
                  
- In the center pane, click 
                     			 Service Interface. 
                     		  
                  
- In the 
                     			 Name field, type 
                     			 LOANPAYM; then click 
                     			 Add. 
                     		  
                  
- On the 
                     			 Service Interface dialog box, check 
                     			 CWS-Type. 
                     			 
                      The LOANPAYM program contains a COMMAREA interface; therefore, you can accept the default setting in the 
                        				Type of source field. 
                        			 
                      
- Click 
                     			 OK. 
                     			 
                     Enterprise Developer creates the service interface and loads it into the 
                        				Interface Mapper. 
                        			 
                      
  
            	 
            
               Define a Service Interface
 
               		 
               		
                
                  		  
                  - With the 
                     			 Interface Mapper in focus, click 
                     			 Operation > 
                     			 New from the Visual Studio main menu. 
                     		  
                  
- In the 
                     			 Operation Name field, type 
                     			 LoanOperation. 
                     		  
                  
- In the 
                     			 Select program/copybook box, select 
                     			 LOANPAYM. 
                     		  
                  
- In the 
                     			 Select input data area box, click 
                     			 LOANPAYM(2). 
                     		  
                  
- In the 
                     			 Select output data area box, select 
                     			 LOANPAYM(3). 
                     		  
                  
- CICS Web Services always use default mappings; therefore, be sure that both 
                     			 Create Default Mappings check boxes are checked (default). 
                     		  
                  
-  Click 
                     			 OK to create the 
                     			 LoanOperation operation. 
                     		  
                  
-  Click 
                     			 File > Save LOANPAYM.svi to save the completed operation. 
                     		  
                  
  
            	 
            
               Generate and move the 
                  		  LOANPAYM.wsbind file
               
 
               		 
               		
                
                  		  
                  -  From the 
                     			 Solution Explorer, right-click 
                     			 LOANPAYM.svi; then select 
                     			 Generate WSBIND. 
                     			 
                      Because the 
                        				LOANPAYM.wsbind file is generated in the 
                        				LoanDemo project's root directory, but the output path is set to the project's 
                        				loadlib directory, you need to move the file from the 
                        				LoanDemo root directory to the project's 
                        				loadlib directory. 
                        			 
                      
- Using Windows 
                     			 File Explorer or at a command prompt, change to the 
                     			 LoanDemo project directory. 
                     		  
                  
- Copy or move 
                     			 LOANPAYM.wsbind from the 
                     			 LoanDemo directory to the 
                     			 LoanDemo\loadlib directory. 
                     		  
                  
  
            	 
            
               Build the LoanDemo project
 
               		 
               		
                
                  		  
                  - From the 
                     			 Solution Explorer, right-click the 
                     			 LoanDemo project, and then select 
                     			 Build from the context menu.