Documentation Center

Installing Experience Optimization Deployment Web Service

When the Fredhopper Access Server is installed on a different machine than Content Delivery, Content Delivery communicates with Fredhopper Access Server through the Experience Optimization Deployment Web Service.

Procedure

  1. Access the machine on which you installed Fredhopper Access Server.
  2. Access the SDL Web installation media.
  3. On your SDL Web installation media, navigate to Experience Optimization\Content Delivery\roles\fredhopper\deployment-service\
  4. Do one of the following:
    • If your Java Web application server is J2EE-compliant, navigate to the j2ee\ subfolder.
    • If your Java Web application server is not J2EE-compliant, navigate to the non-j2ee\ subfolder.
  5. Deploy the WAR file, SmartTargetDeploymentWebService.war, in your Web application server.
  6. Verify that the Web service is working by opening a browser and entering:
    http://localhost:8080/SmartTargetDeploymentWebService

    If you are accessing the Web service from a different machine replace localhost with the domain name of the machine you are running the Web service on.

  7. On your Fredhopper machine, navigate to the WEB-INF\classes\ subfolder of the root folder of the Web application you just deployed.
  8. Open SmartTargetDeploymentWebService_conf.xml for editing.
  9. Give the <Location> element the following value:
    <Location>BASE_DIRECTORY/INDEXER/data/fas-xml-incremental/CATALOG</Location>
    where:
    • BASE_DIRECTORY is the Fredhopper Access Server
    • INDEXER is the name of the Index Server
    • CATALOG is the name of the Fredhopper catalog (typically catalog01).
  10. Save and close SmartTargetDeploymentWebService_conf.xml.
  11. Open logback.xml for editing.
  12. Set the log.folder property to a value of your choice, for example:
    <property name="log.folder" value="BASE_DIRECTORY/data/instances/INDEXER/log"/>
  13. Save and close logback.xml
  14. Optional: Set up authentication:
    1. Set up username/password based authentication for the Web service in your servlet container.
    2. Open the smarttarget_conf.xml configuration file in a text editor and specify the username and password in the <IndexServer> element.
  15. Configure Experience Optimization in the Content Deployer to point to the Experience Optimization Deployment Web Service:
    1. On the machine that contains Content Deployer, navigate to the Content Deployer configuration location and open smarttarget_conf.xml for editing.
    2. Change the <Location> element to point to the Experience Optimization Deployment Web Service:
      <Location>http://Machine:8080/SmartTargetDeploymentWebService/SmartTargetDeploymentWebService?wsdl</Location>
    3. Save and close smarttarget_conf.xml.