Step 4. Create User Agent Host Configuration file
INT006 - Department Inquiry Functions
In this step, you will set up the
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 SendCVSFile.lih. Select Copy File.
and right click the file
2. Expand your SendCVSFile.lih file will be copied to your folder. Select the file and use the right mouse menu to Change the file name from iiiPRO04_client to iiiPRO04_client_test.lih.
solution, Select XML Request, right click and select Paste File. Click to confirm. The3. 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.