Publishing Platform Web Services

Publishing Platform Web Services or Lexmark Publishing Services helps to render signs, batches, and labels by communicating with the PPR engine and database. It can also store and extract data from the PPR database.

This section illustrates how to install this component.

Deployment readiness checklist

You can install the Publishing Platform Web Services on a supported Microsoft SQL Server that runs on any of the following operating systems:

Before you begin, make sure that the following applications are installed on the server:

Note: You must bind the site to all unassigned IP addresses in the site binding configuration.

Installing Publishing Platform Web Services

  1. Obtain the Publishing Platform Web Services installer.

    Note: We recommend installing the Publishing Platform Web Services on the same server where the Publishing Platform Engine and Publishing Platform Manager are installed.
  2. Run the LexmarkPublishingServices.exe file as an administrator.

  3. Read and accept the End-User License Agreement (EULA), and then click Install.

  4. Provide the fully qualified domain name or IP address of the web services server.

  5. Provide the database server name with the instance.

  6. Provide the database server login ID and password.

  7. Select a database.

  8. Provide the link to the Publishing Platform Engine installation.

    Note: Type http://<hostname>/lexmarkpublishing/promos.poc, where <hostname> is the fully qualified domain name or IP address of the engine server.
  9. Browse to a folder where you want to save the web services files.

    Note: We recommend keeping the default directory.
  10. If you use a Redis load-balancing setup, then enable Use Redis.

Notes:

FAQ

  1. How to print a large number of sign copies?

    1. Open the App.Config file located at C:\inetpub\wwwroot\Lexmark_Publishing_Services.

    2. Adjust the value of the timeout of the POC Engine call depending on size of the sign copies

  2. How to enable the SWAGGER document page?

    1. Open the App.Config file located at C:\inetpub\wwwroot\Lexmark_Publishing_Services.

    2. Set the value of the EnableSwaggerUI as true.

  3. How to change the database connection strings after installation?

    Database connection strings are stored in encrypted form in the Web.Config file located at C:\inetpub\wwwroot\Lexmark_Publishing_Services

    1. Decrypt the connection strings, modify as required, and then encrypt it back in the Web.Config file.

    2. Type the following commands respectively to decrypt and encrypt the connection strings:

      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pd "connectionStrings" -app "/LexmarkPublishingServices"

      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pe "connectionStrings" -app "/LexmarkPublishingServices"