Professional > Interview scripting > Using Interview Services
 
Using Interview Services
Interview Services provides options for defining and configuring external web services that can be used in the routing script. The default IBM SPSS Collaboration and Deployment Services service type provides advanced real-time scoring and text analytics capabilities and can greatly improve respondent interactions. Some examples of how these services can be used are:
Allow for a more natural and engaging use of text responses, basing survey logic on concepts and sentiment captured in open-ended questions.
During the survey, automatically ask follow-up questions as a result of scoring against existing attitudinal and transactional data.
Based on scoring results, ask the most respondent-pertinent questions. Asking the right questions, instead of all the questions, is increasingly important as survey response rates continue to fall.
Centralize complex routing logic in models stored in IBM SPSS Collaboration and Deployment Services (segmentation, for example).
You can also configure custom services to further take advantage of third-party web services. External services must first be configured via the authoring application's Interview Services Options feature. For more information, see Interview Services options.
After the external services are configured, the routing script must be updated in order to call the functions and properties that are exposed by the configured service object. For example:
IOM.Services[“CaDSServer1”].ContentRepository.CopyFile(“/sourceFolder/test.txt”, “/target/”)
The Configure Interview Services dialog is used to configure different service types. Different services, with different names, can be used by the IOM.Services collection. For example:
IOM.Services[“CaDSServer1”].Scoring.getScore(request)
IOM.Services[“SalesforceConfig1”].CreateClient()
You can use the provided service types or define custom service types. A custom service type provides a wrapper to third-party external web services that you want to call in the routing script.
For more information, see Creating and using Interview Services.
Notes
The Interview Services configuration settings that are defined in the UNICOM Intelligence Professional and UNICOM Intelligence Author applications can only be used for surveys that are running in those applications. When activating a survey to UNICOM Intelligence Interviewer - Server Admin, the Interview Services settings are read from the UNICOM Intelligence Interviewer - Server Admin settings (in UNICOM Intelligence Interviewer - Server Admin, Interview Services settings are accessed via the Options menu (Options > Interview Services Settings). In UNICOM Intelligence Interviewer - Server Admin, you can import the defined UNICOM Intelligence Desktop ServicesOptions.xml configuration file settings, located on the UNICOM Intelligence Desktop client computers at:
C:\Users\[User Folder]\AppData\Roaming\IBM\SPSS\DataCollection\7\Author\Interview\ServicesOptions.xml
The SalesforceServices and DBConnectionServices project source code is installed with the UNICOM Intelligence Developer Documentation Library at:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\InterviewServices\DBConnectionService
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\InterviewServices\SalesforceService
Instructions for building the projects, and registering the output *.dllfiles are at:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\InterviewServices\Instructions.txt
See also
CaDSClient Interview Service
Salesforce Interview Service
Database Connection Interview Service
Interview scripting