Publishing iServer REST Data Service
|
Feedback
|
SuperMap iServer supports republishing remote iServer REST data services as WFS services, REST data services, and OGC API data services through the local machine. You can quickly publish an online REST data service 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;
- When the select data source is "REST data services", click "Next";
- Enter the URL of data source service, for example, http://server:8090/iserver/services/data-world/rest. If the service entered is not a public service, it is required to enter a Token/API-key; if the obtained token is generated in HTTP Referer mode, the corresponding HTTP Referer shall be filled in value. Then, click "Next";
- Select the published service type, such as rest data service, and click Next;
- Configure the corresponding service and click "Publish" to publish the service;
- Set whether the data services is editable. The default is not editable. When editable is selected, enable delay commit is supported. When enable delay commit, the system will delay the commit of data editing operation according to the set content
- Set the data services "enable caching". By default, caching is not enabled. It is recommended to enable caching, so that the request will be cached locally, and the same request can be read directly locally in the future. For detailed parameter description, please refer to: REST Data service providers configuration parameter
- 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 REST data services published in the iServer deployed on SuperMap Online.
Note:
When the data source is blockchain service, the published data services do not support the following resources or operations:
1. Addition, duplication and deletion of data sets;
2. Addition, modification and deletion of data set fields;
3. domain resource and tile feature resource;
4.BUFFER, SPATIAL, and SQL queries under the featureResults resource.