- URL:https://<extensions-url>/register
(POST only)
- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
Description
Legacy:
At 10.9.1, when installing ArcGIS Server, you had the option to disable the ArcMap service runtime. When the ArcMap runtime was disabled, you could not register server object extensions (SOEs) that were created with the ArcObjects SDK.
The register operation registers a new .soe file with the server. Before you register the file, you need to upload it to the server using the upload operation. The itemID returned by the upload operation must be passed to the register operation. This operation registers the SOEs defined in the .soe file. Starting with ArcGIS Enterprise 11.0, ArcObjects extensions and 10.x versions of Enterprise SDK extensions are no longer supported. Attempting to register or enable these extensions will fail with an error message. Only version 11.x extensions can be registered.
Note:
When registering a new .soe file, ensure that none of the extensions in the .soe file have been registered. To change existing extensions, use the update operation.Request parameters
Parameter | Details |
---|---|
id | The uploaded item ID of the .soe file. Example
|
f | The response format. The default response format is html. Values: html | json| pjson |
Example usage
The following is a sample POST request for the register operation:
POST /webadaptor/admin/services/types/extensions/register HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
id=i03a2b59db-e60d-48ce-8b0e-2fd3cff73b1a&f=json
JSON Response example
The following is a sample success response for the register operation, indicating that the .soe file was uploaded successfully:
{
"status": "success"
}