Managing services |
SuperMap iPortal provides administrators the following service management functions:
SuperMap iPortal supports batch registration of services from SuperMap iServer and supports automatic synchronization of services in the iServer (for example: iServer adds a new service, iPortal will automatically synchronize, the new service will be automatically registered to the portal; iServer Service removal, activation and deactivation, iPortal will automatically sync), the default update time is 60 minutes, you can also set the update time as needed. For more information, see: Service update time interval setting.
Service in SuperMap iServer for all versions (including the lowest version) supports bulk registration to the iPortal.
Log in to your portal, click Management> Resources Management, select "Register in batch" in "Service" dropdown list then click "Add Directory Service Address" and perform the following steps to finish the registration process.
In the text box, enter the directory service address of the iServer service in the following format: http: //<server>:<port>/iserver/service, for example "http://192.168.112.217:8090/iserver/services"
You can share the registered services with all portal users (including anonymous users), specified groups, specified users, or don't share with anyone, ie., just can be accessed by yourself. When sharing with specified users, if you enable the organizational structure, here you can share them with your organazation's members by adding the members into the target users. After the maps have been successfully added, you can also share services in Personal Center>My Services.
All the public iServer services will be registered to iPortal.
In some cases, you may need to change the service address, for example the IP of the iServer changed, or you may need to edit the service's metadata info, you should do the following:
On "Register in Batch" page, click "Edit" on the directory service address item you want to modify, then type in the new address and click "OK" to save to take effect. All the existing registered services will update to the new service address. And if you don't need it any more, check and delete or unregister it.
The default public metadata content (eg, service provider) of the registered services can be edited in smmd2007template.xml file (locates in [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF\iportal-all-*.jar\config\csw folder).
If you enable this funciton, the services that normal users applied to register need to be audited first. Only the approved services can be added to Service Resource Center. By default, this function is disabled, which means all the services user registered will be added in Service Resource Center for searching and using. Note that only the users who have the priviledges can view and use these services in Service Resource Center.
SuperMap iPortal 8C SP1 or later versions disable this function. Portal admnistrators can enable or disable this function by modifying iportal.xml in [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF folder. For details,see: iPortal configuration file description.
If users in your organization modified the information of the audited services, for example the name, description, but the description doesn't conform to your standard, you can control these modifications by configuring service property fields for your auditing operations. You need to configure them in iportal.xml file. And the properties you can configure include name (resTitle), description (idAbs), thumbnail, tags, reference system (refSysInfo), identifier (exDesc), extent (geoBndBox), provider (mdContact). For specific configuration, see: iPortal configuration file description.
After log into the iPortal as administrator, you can view the services to be audited in Pending Items on Management>Home page, or you can view them by entering Management>Resources Management>Service Audit page. Then you can perform the following operations:
Log in to the your portal as administrator, click Management >Resource Management and select the "Service Management" option in "Service" dropdown list. This page lists all the registered services, including single registration services, bulk registration services and hosted services. If you open the audit service function, only the approved services will be dispalyed on this page. On this page, you can view and edit the basic infos of these services, control their visibility in your portal, and even delete these services. All these operations only affect your portal, it won't have any impact on the original services.
Service Management List page shows the visibility of the service, the service name, whether it is a hosted service, the service address (if the service proxy is enabled, the proxy address will display), the service type, the service registrant, the service registration time, whether it is registered in batch.
Click one specified service, detailed info page will appear, click "Edit" button at the right bottom page, you can replace the thumbnail and edit the basic service info and metadata info.
You can control the visibility of specified services, or delete them, or view specified services by searching operation in your portal.
You can set the update time interval for registered services by editing iportal.xml file in %SuperMap iPortal_HOME%/webapps/iportal/WEB-INF directory. For details, see iPortal configuration file description.
Example:
<IportalConfig> ... <serviceCheckSetting> <singleCheckInterval>20</singleCheckInterval> <batchCheckInterval>30</batchCheckInterval> </serviceCheckSetting> </IportalConfig>