To use the mockup, unpack the archive to a folder of your choice E.g C:\DIR\Mockup.
In Internet Information Services (IIS) Manager, add a new website:
Name the site, point it to the mockup folder and provide a suitable port:
To connect properly to the service from DIR, you have to edit the Dir.exe.config file, which can be found in the DIR install folder. In the <system.serviceModel> section, edit this line: <endpoint address="http://pds-sys-akd10:2200/DataService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDataService" contract="DataService.IDataService" name="BasicHttpBinding_IDataService"/> so that the service address corresponds to the one just created.
Also edit the line <setting name="UsePersonTjanstTest" serializeAs="String"> <value>False</value> </setting> Set the value to True.
Test data:
The test data provided consists of 7 persons with the following fake Id's: 196802231111 200104131112 198810031113 197405011114 196310131115 196909011116 198702231117
After installation of DIR and configuration of the config file, start the system and change the language to Swedish:
Restart the program to let the language change take effect.
Open a Disaster (Three demo disasters are provided with the installation)
Initiate creation of a missing person
Enter the id for one of the fake id's:
When the cursor leaves the last ID field, there will be made a search through the service. If there is a hit, the following dialog is shown:
Click "Ja" to create this person.
The functionality is similar when creating a Found person or an Informant.