This
call is used to register a new service on the Cabinet like image or FTS. If a
service is registered through some JTS machine then it can be deleted through
that machine only. User must have Privileges to register a service on the Cabinet.
|
Name |
Parent Tag |
Description |
Valid Values |
Default Values |
Option |
Root |
Unique option for the call. |
NGORegister Services |
N/A |
CabinetName |
Root |
Name of the Cabinet to which User wants to connect. |
The name of the Cabinet. |
N/A |
UserDBId |
Root |
UserDatabase ID, which is returned in the NGOConnectCabinet call. |
|
N/A |
Service |
Root |
Contains information about the Service to be registered. |
|
|
ServiceType |
Service |
Type of Service being registered. |
Service name. |
N/A |
HostName |
Service |
IP Address of the JTS through which this Service is to be registered. |
Machine name or IP Address of the machine on which the JTS is running. |
By default
it is taken as the IP Address of the machine on which, the JTS is running. |
DBName |
Service |
It specifies the JTS information used by the Service. |
(DSN) # (IP of JTS) # (PORT on which JTS is running) # (Database name) |
N/A |
Comment |
Service |
Comments about the Service. |
Any ASCII string. |
NULL |
Name |
Parent Tag |
Description |
Option |
Root |
Unique option for the call. |
Status |
Root |
Status of the call. If the Status is 0, then the call is successful. |
Service |
Root |
Contains information about the Service that has been registered. |
ServiceIndex |
Service |
Index of the Service that has been registered. |
ServiceType |
Service |
Type of the Service that has been registered. |
HostName |
Service |
IP Address or the machine name of the JTS through which, this service
has been registered. |
DBName |
Service |
It specifies the JTS information used by the service. |
Comment |
Service |
Comments about the Service that has been registered. |
Code |
Message |
Comments |
-50095 |
Service already
registered on the specified host. |
Service
specified is already registered on the given host. Register Service with some
another name |
-50116 |
Insufficient
Privileges for the current operation. |
User must have
Privilege to register Service on the Cabinet. |