Asking about serviceUrl

I see that when do searching, printing, there will trigger a call to service url, in the document example I see that its using https://ej2services.syncfusion.com/production/web-services/api/pdfviewer

the question is: do I need to use my own web server to provide endpoint like syncfusion, if yes then do java library expose api to achieve those functionalities
if no, Is it ok to call to syncfusion endpoint, is there any rate limit

Thank you


3 Replies

KR Keith Rosenbauer August 29, 2022 02:55 AM UTC

I too have this question, as I notice there are docker containers for both the pdfviewer-server and word-processor-server (https://hub.docker.com/u/syncfusion). I would also extend this to even the Spreadsheet Viewer, where we need the "openUrl" specified to open up XLSX files. 

I notice your one code example here - https://stackblitz.com/edit/react-lqlxja-bjseyo?file=index.js is throwing the following error: "Web-service is not listening. PDF Viewer depends on web-service for all it's features. Please start the web service to continue."

Is this an issue with the example or the serviceURL as it looks to be the same in other examples.

Would appreciate any information about using the web services hosted by Syncfusion, and if there are any restrictions, and what is being done to ensure these services are highly available. Thanks!




JP Jay Park replied to Keith Rosenbauer August 29, 2022 04:11 AM UTC

Hi,
I just figure out that developer need to host their own webservice, the one Syncfusion provide just for demo purpose, here for Spreadsheet example
https://www.syncfusion.com/kb/13201/how-to-implement-the-docker-web-service-in-spreadsheet



VV Visvesvar Venkatesan Syncfusion Team August 29, 2022 03:40 PM UTC

As you mentioned in the last update, the Syncfusion service URL is for demo purpose only. You need to create your own service project. Kindly refer to the documentation link to know more.


Documentation - https://ej2.syncfusion.com/documentation/pdfviewer/server-deployment/pdfviewer-server-docker-image-overview/


Regards,

Visvesvar K V


Loader.
Up arrow icon