Publish iServer REST plot service
|
Feedback
|
SuperMap iServer supports local re-publishing of remote iServer REST plot service as REST plot service. You can publish the REST plot service of the service online by following these steps:
- Click "publish service" on the "service management homepage" or click "quickly publish service" on the "service-service management" page to enter the publishing wizard;
- The select datasource is the REST plot service, and click Next;
- Enter the URL of data source service, for example, http://server:8090/iserver/services/plot-JY/rest. If the input service is not a public service, you need to input the Token/API-key with access permission. If the obtained Token is HTTP Referer If it is generated in the following mode, you need to fill in the corresponding HTTP Referer value and click Next;
- Select the published service type, such as REST-plot service (2D + 3D), and click Next;
- Select the service "enable caching". By default, caching is not enabled. After the cache is enabled, the data generated in the process of browsing the plotting library will be stored in the disk. You can configure the maximum disk capacity, survival time and usage time according to the actual situation and requirements, and click Publish;
- After publishing, you can see the name and link of the currently published service. Click it to access the service directly.
The remote REST service you publish can come from an iServer service deployed anywhere, as long as the service is accessible, for example, in the iServer REST plot service published on SuperMap Online.