Step 4 Create User Agent Host Configuration file

LANSA Integrator

Step 4. Create User Agent Host Configuration file

INT006 - Department Inquiry Functions

In this step, you will set up the User Agent host configuration file to test your server function.  The User Agent will act as a client querying the server you have created.

1.  You need to copy the SendCSVFile.lih file from the SendCSVFile solution group to your XML Request solution group.

     With your project open in Studio, expand the folder Solutions / SendCVSFile. Select and right click the file SendCVSFile.lih.  Select Copy File.

2.  Expand your XML Request solution, Select XML Request, right click and select Paste File. Click OK to confirm.  The SendCVSFile.lih file will be copied to your XML Request folder.  Select the file and use the right mouse menu to Rename File. Change the file name from iiiPRO04_client to iiiPRO04_client_test.lih.

3.  You need to modify the User Agent file to connect to the server and service you have created.  Right-click on iiiPRO04_client_test.lih and select Open With /  Properties Editor.  Make the following replacements:

Old Line

New Line

name=iiiFN05_SERVICE

name=iiiFN06_SERVICE

xml.uri=/cgi-bin/jsmdirect?orderxml

xml.uri=/cgi-bin/jsmdirect?iiiFN06_SERVICE

 

 

     If you are using a local web server and JSM server the uri line will be:
xml.uri=/cgi-bin/jsmdirect.exe?iiiFN06_SERVICE

4.  You have completed the creation of your User Agent host configuration file.  Save and close iiiPRO04_client_test.lih.