Publishing the service

Feedback


SuperMap iServer supports the mechanism to automatically detect service components and publish them as REST services. Although the TemperatureServlet service interface is not implemented here, we can publish the Temperature service as a REST interface. For details on the mechanism to automatically detect services and publish them as REST services, please see:  Publishing the domain service component as REST resources.

Start SuperMap iServer service, the link of the newly added Temperature service will be shown on the services page (http://localhost:8090/iserver/services).

Figure 1. Available service list

Click on the service link, and enter domainComponents, we can see the Temperature component has been published as a resource, and its methods have been published as resources too.

Figure 2. Temperature service component resource

Figure 3. Temperature method resources