Server User Guides > Survey Tabulation > Overview of UNICOM Intelligence Reporter - Survey Tabulation > UNICOM Intelligence Reporter - Survey Tabulation architecture
 
UNICOM Intelligence Reporter - Survey Tabulation architecture
In the web-deployed version of UNICOM Intelligence Reporter, all metadata and case data are stored on the server. The client has no access to the case data: its main function is to manipulate tables and display results. The main operations, such as population, are performed on the server side. The Tabulation Web Service is designed for the mutual communication between the UNICOM Intelligence Reporter client and the UNICOM Intelligence Interviewer - Server Admin.
UNICOM Intelligence Reporter - Survey Tabulation architecture
1 On the client, the mrTables web GUI communicates with the mrTables web service that is on the server.
2 The mrTables web service communicates with the metadatamodel (MDM) and the table object model (TOM) that are on the same server.
Table object model (TOM)
At the heart of UNICOM Intelligence Reporter - Survey Tabulation, the table object model implements the objects that define all of the tables in a table document, including the axes, elements, cell contents, statistical tests, filters, annotations, and so on. The table object model uses additional components to calculate the values for the tables. For more information, see Table population sequence. The table object model is also part of UNICOM Intelligence Reporter.
Metadata model (MDM)
The metadata model is used to access the metadata. It is part of the UNICOM Intelligence Data Model.
UNICOM Intelligence Reporter - Survey Tabulation Web Service
This gives remote users access to the table object model and the metadata model. A web service uses standard Internet protocols (like HTTP and XML) to enable remote users to access objects on a server over the Internet. The UNICOM Intelligence Reporter - Survey Tabulation Web Service is a stateful web service, which means it has an internal storage mechanism to allow it to retain information between method calls. The design of the Web Service keeps the number of server round trips to the minimum. The UNICOM Intelligence Reporter - Survey Tabulation Web Service enables a client to request information from multiple MDM documents.
To use this component, you must first create a working environment that will login to the server and retrieve a ticket that identifies user status. The following demonstrates the basic steps used when opening a document:
1 Log into the DEPM server.
The first step of using the Tabulation Web Service is to log into the server and retrieve a ticket. The ticket contains the individual user identities. After retrieving the ticket, you can call subsequent functions.
All resources that the Tabulation Web Service accesses are on the server, so users must have authority to access the server resources.
2 Initialize.
Most of the operations of the Tabulation Web Service are session-related; all necessary information is stored on the server user session. The second step is to call Initialize to initialize the session environment.
3 Open document.
After initialization, you can access other functions such as opening a a document. The OpenDocument method returns the compressed MTD and MDD files to the client (the file are compressed to alleviate network traffic). The returned documents must be decompressed before they can be loaded with a local TOM object.
4 Populate.
After changing the document, you can pass the MTD file back to server for population. Before calling the Populate method, you must first compress the MTD file. For more information, see the OpenDocument and Populate methods.
See also
Table population sequence
Internal files used by the table object model
XML formats used by the table object model
Overview of UNICOM Intelligence Reporter - Survey Tabulation