NGOModifyServices

This call is used to modify a service that is already registered on a Cabinet based on Service Index. User should pass only those values that need to be modified; remaining values are retained from the Service. User must have the Privilege to modify Service on the Cabinet.

 

Input Parameter description

View sample InputXml

Output Parameter description

View sample OutputXml

Errors and Warnings

 

 

Input Parameters description

Name

Parent Tag

Description

Valid Values

Default

Values

Option

Root

Unique option for the call.

NGOModifyServices

N/A

CabinetName

Root

Name of the Cabinet to which the 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.

 

N/A

ServiceType

Service

Name of the Service.

Service name.

Previous Value.

ServiceIndex

Service

Index of the registered Service that is to be modified.

Index>=0

N/A

HostName

Service

The IP Address or machine name of the JTS through which the Service has been registered.

 

Previous Value.

DBName

Service

It specifies the JTS information used by the Service.

 

(DSN) # (IP of JTS) # (PORT on which JTS is running) # (Database name)

Previous value.

Comment

Service

Comments about the Service.

Any ASCII string.

NULL

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

NGOModifyServices

Status

Root

Status of the call. If the Status is 0, then the call is successful.

 

Errors returned from call

Code

Message

Comments

-50099

Service already registered on the specified host.

New Service specified is already registered on the given Host.

-50116

Insufficient Privileges for the current operation.

User must have Privilege to modify Service from the Server.