# Get Started
Foxit PDF SDK for Web Server (webViewer Server ) is a Linux-based server container. It is a back-end for our Foxit-powered apps such as webViewer to connect to and provides a server-side rendering solution.
# Get trial version
You can pull Foxit PDF SDK for Web Server (webPDF Server) trial image from our docker hub below:
docker pull harbor-us.cpdf.io:4430/websdk-sr/master:latest
Get Foxit PDF SDK for Web (webViewer) zip package from our web site (opens new window).
# Run Demo
In the webViewer SDK package, navigate to complete_webViewer_sr.
You can also try our online demo at : https://webviewer-demo.foxitsoftware.com/
# License
A version with trial license always prints a watermark on any rendered page. To remove the watermark, you should request a formal license from your sales representative. The license contains two files as follows:
- websdkserver_key.txt
- websdkserver_sn.txt
You need to copy the whole text string after SN=
and Sign=
in the above two files, and paste into the respectively required field in the docker-compose.yml
file.
# License Validation Check
If you have trouble to getting webPDF Server up, you may check if the license is valid by running the following command on your Docker terminal screen:
# list existing docker containers in running state
docker ps
# list the specific container log information
docker logs 'dockerid'
# output your log into your current folder on host.
docker logs 'dockerid' >> dockerlog.log
# Filter your log to check if it contains “Library Initialize Error: 7". If yes, the license is invalid.
cat dockerlog.log | grep 'Library Initialize Error'
If you get the return like java.lang.Exception: Library Initialize Error: 7'
which means the license is incorrect. Double check if the license string you input is valid.
If you get the return like INFO [com.foxit.webpdf.gsdk.GsdkDllLoader] - <GSDK Library: 7.2.0.0603>
which shows your license is working happily.