Page History
In this step, you will create three text files and save them in the Tutorial folder:
...
\\<SRV400>\LICComposer\lic\Tutorial
- Use Notepad to create the Request CSV sample file. This file will contain a list of these employee numbers:
...
EmployeeNumber100066100554101375Save the file using the Save as type: All Files option so that you can specify the CSV file extension. Give it a name such as iiiTUTEMPNO.csv.
Note title Note Although the file is a Comma Separated File (CSV), you will not see commas because there is only one data column. In a similar way, create the Response XML sample. The contents of iiiTUTEMPDET.xml will be like this:
code<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEEmployeesSYSTEM"iiiTUTEMPDET.dtd"><Employees><Employee>
<EmployeeNumber>100066</EmployeeNumber>
<LastName>Coleman</LastName>
<FirstName>Briar</FirstName>
</Employee>
<Employee>
<EmployeeNumber>100554</EmployeeNumber>
<LastName>Dixon</LastName>
<FirstName>Reed</FirstName>
</Employee>
</Employees>Note title Note Change the iii in <!DOCTYPE Employees SYSTEM "iiiTUTEMPDET.dtd" > to your initials. - Save the file as
iiiTUTEMPDET.xml. Once again ensure you use the Save as type: All Files option to ensure Notepad saves the file with the .xml extension. Create the response DTD file. The DTD file is used to describe the tags of XML files:
Code Block <!ELEMENTEmployees(Employee)>
<!ELEMENTEmployee(EmployeeNumber,FirstName,LastName,Address1,Address2,Address3,PostCode,Department)>
<!ELEMENTEmployeeNumber(#PCDATA)>
<!ELEMENTLastName(#PCDATA)>
<!ELEMENTFirstName(#PCDATA)>
<!ELEMENTAddress1(#PCDATA)>
<!ELEMENTAddress2(#PCDATA)>
<!ELEMENTAddress3(#PCDATA)>
<!ELEMENTPostCode(#PCDATA)>
<!ELEMENTDepartment(#PCDATA)>Save the file as iiiTUTEMPDET.dtd ensuring that the filename extension is preserved.
Note title Note This file's name must be the same name as specified in the DOCTYPEin the xml file just created.