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:
- In the service management
homepage, click on quick service
publishing or in the Servcie->Service management page, click on
quick service creation 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.