I. Functions
Siebel web survey deamon online questionnaire survey is a sub-function of marketing. It mainly defines problems and webpage styles in Siebel and then transmits them to the Web Survey server through WebService,
However, the websurvey server will automatically send the survey results to the Siebel server through eai xml, where Siebel will map the individual information in the survey (for example, according to the investigator name, automatically match with the contact)
Ii. Install the WSD Server
1. Download the marketing integrated server suite from edelivery.
The test platform here is redhat5 and Siebel is 8114. Because the installation package under Linux cannot be found, you have to go to Windows.
2. Run wsd.exe. After WSD is installed, it is actually a Siebel web survey enhanced version of Tomcat, which contains the Linux Shell of Tomcat.ProgramTherefore, copy the package directly to the server and configure Tomcat port 8080. At least Tomcat can run. If Tomcat management is required, add roles and user in the/WSD/CONF/tomcat-users.xml.
3. Configure the WSD Server
1. Modify the/WSD/bin/setenv. Sh file to ensure that the path of websurvey/config is correct.
Java_opts = "-dwebsurvey. configdir =/Siebel/APP/Siebel/WSD/webapps/websurveys/config"
2. Make sure JDK 1.5 and above are installed, modify the/WSD/tomcat-ctl.sh file, and add java_home Environment Variables
3. grant permissions to the WSD directory and its sub-files. chmod-r 777 *
4. Create a user in the Siebel database, for example, wsduser. Assign the object creation permission.
5. Switch to the WSD/SQL directory and use sqlplus to execute the SQL script of the corresponding database to create objects and metadata.
6. Modify the WSD/webapps/websurveys/config/websurvey. properties file.
Survey. baseurl = http: // [domain]: 8080/websurveys note that the domain here must ensure that the client user can access
DB. Driver = com. Siebel. SEM. JDBC. Oracle. oracledriver registration driver
DB. websurvey. url = JDBC: sebl: oracle: // [domain]: 1521; servicename = siebeltest configure TNS
DB. websurvey. User = User Name of the wsduser Database
DB. websurvey. Password = y0b/eV/J/kkcztimd9yeklheiglbd1xq8bo5
Bytes ---------------------------------------------------------------------------------------------------------------
The password must be encrypted in the ciphertext format. The encryption method is as follows:
Import the Lib environment variable of the encryption program
Export classpath =/Siebel/apps/Siebel/WSD/webapps/websurveys/WEB-INF/lib/occam-crypto.jar
Transcoding command: Java com. Siebel. Occam. Security. occamcrypto encrypt [Password]
Output ciphertext to DB. websurvey. Password
Bytes ----------------------------------------------------------------------------------------------------------------
Report. Enable = true
Websurveyqueuedirectory =/Siebel/APP/Siebel/WSD/webapps/websurveys/Queueing
Siebel_url = http: // [host]: [port]/eai_chs/start. SWE? Sweextsource = WebService & sweextcmd = execute & wssoap = 1
Siebel_username = sadmin
Siebel_password = sadmin
Siebel_locale = CHS
Response_type = \ u5b8c \ u6210 \ u7684 \ u7f51 \ u7edc \ u8c03 \ u67e5
Bytes ---------------------------------------------------------------------------------------------------------------
If seed lov in Siebel is Chinese, the type here must also be Chinese:
But the configuration file itself is ASCII encoding, And the generated XML return Siebel is UTF-8 encoding, so the direct write of Chinese will be garbled, so here we need to use a transcoding tool to convert the Chinese "completed network investigation" into an ASCII string of UTF-8 encoding, here directly using the python string decoding command:
Bytes ----------------------------------------------------------------------------------------------------------------
Finally, modify WSD/webapps/websurveys/config/loging. properties to write the log file path
7. Modify the WSD/webapps/websurveys/WEB-INF/CONF/axis2.xml File
Comment out the following sentence: <parameter name = "transfer-encoding" locked = "false"> chunked </parameter>
Cause: When Siebel WebServer is an Oracle Application Server and chunked encoding is used for soap data transmission, Siebel reports a ws error.
Error code: 10944629 error message: Error: missing body length in response to swe request!
8. Start WSD and execute tomcat-ctl.sh start under the WSD directory
Http: // [host]: 8080 return to the Tomcat homepage, indicating whether the tomcat configuration is correct.
Http: // [host]: 8080/websurveys/servlet/actionmultiplexer? Action_id = web_surveys_heartbeat
Http: // [host]: 8080/websurveys/services/websurveywebservice? WSDL
The WSD server configuration is complete.
4. Configure the Siebel WSD Service
1. Activate the task UI: mktg landing site task based UI
2. Activate the import response Workflow
Mktg master import process
Mktg import-Response Process
3. Set outbound WS: websurveywebservice
Specify HOST: port, for example, http: // [host]: 8080/websurveys/services/websurveywebservice? WSDL
5. Configure the land site
1. log on to the site map and log on to the site (Land site)
2. Define Questions and answers
3. Define the investigation. After the investigation is defined, set it to "activity"
Create a new survey and create a survey area header. The page here is displayed on the page
Select a type of problem in the survey area. Note that the name must be mapped to the contact name.
4. Prepare a login page for the header of the first page investigation.
Simply put, prepare an HTM static page with an image in it and upload it to [HTML content]. The description type is login page content.
5. Create a login site
6. Link to the login page. Be sure to create a new one and select another. The filter condition is that the type added in [HTML content] is the login page.
7. Join the investigation and select the investigation directly.
8. deploy and release. Click Preview. Click Generate Test URL. Check whether the URL is correct and Click Activate. If the content on the subsequent page or investigation is modified, click Refresh, synchronize data to the WSD server.
9. log on to the official site and perform a test.
10. After the test is submitted, the land site configuration is basically normal. Next, the Siebel response is processed.
6. maketing import response mapping Configuration
1. The resp3.xml file will be produced in the WSD directory after the submit in the above step. This is an XML file sample that stores the user questionnaire results and is downloaded to the local device.
2. Go to management-marketing, import interface, and create a job
Schedule mode = one time (Manual start)
Start time = now
3. After the job is activated, a request in process is displayed in the system task under the same screen.
Switch to the import page to view the job status.
4. after data ing is completed, you can see that all input fields have been written, but this is not generated from XML, but by default. You need to manually update mapping and click load ing, then select the corresponding ing field
Except firstname and lastname need to be mapped to contact, other standard objects that map to response
5. Click "view ing details" to go to the import ing page. Make sure that the exact match column is checked on the contact name. Otherwise, no contact is associated in the response.
6.
6. Finally, view the row_id of the import ing header, for example, 1-4765r.
7. Open the WSD configuration file websurvey. properties on the websurvey server and modify the siebelmappingid.
8. After saving, restart the WSD service.
Switch to the WSD directory and execute the tomcat-ctl.sh stop & tomcatl-ctl.sh start
7. Open the login site URL for questionnaire
After you click submit, the import job is automatically created in the "manage"-"marketing" system task in the Siebel system, and two asynchronous workflows are created in the job managed by the server.
After running successfully, go to the login site, find the login site of the questionnaire, and go to the view response page
We can see that the contacts are automatically matched by the system, and the questions and answers have also been synchronized.
The response from WSD submit to Siebel workflow creation is not real-time, but is actively requested by the WSD server to poll the Siebel server in a fixed cycle. Therefore, it may take a while. This cycle can be found in websurvey. settings in the properties configuration file
Queueflushinterval = 60000 // 1 minute
There are also many advanced features on the WSD server. Here we only initially configure the entire process. According to the PDF, we can also integrate the user logon part, such as queries with ad or ladp, in addition, contactid in rep3.xml can be directly mapped to a contact, which is also worth studying. I hope you can study it further later.