|
Options |
Name |
Purpose |
|
|
DeregisterService (character)
|
/* Removes a service registration.
@param character The name of the service to remove from the registry */
|
|
|
OpenEdge.Web.DataObject.MappedOperation GetOperation (character, character, MethodEnum)
|
/* Returns details about the operation
@param character The serviceName
@param character The relative URI
@param MethodEnum The HTTP method
@return MappedOperation The operation map for this Method/URI */
|
|
|
HANDLE GetSchema (character, character)
|
/* Returns a schema for a given service oepration.
@param character The service name
@param character The schema name
@return handle An empty data structure (TT or PDS) */
|
|
|
Progress.Json.ObjectModel.JsonObject GetServiceCatalog (character)
|
/* Returns a catalog for a named service
@param character The service name.
@return JsonObject A JSDO catalog. If no exist or none can be found, return null.
@throws AssertionFailedError If the name is empty or null
@throws AppError If the requested service does not exist in the registry */
|
|
|
Progress.Json.ObjectModel.JsonObject GetServiceOptions (character)
|
/* Returns the service options for a named service
@param character The service name.
@return JsonObject A JSDO object containing options. If no exist or none can be
found, return an empty JSON object.
@throws AssertionFailedError If the name is empty or null */
|
|
|
INTEGER GetServices (character[])
|
/* Returns all registered service names
@return character extent An array of registered services. indeterminate if none. */
|
|
|
LOGICAL HasOperation (character, character, MethodEnum)
|
/* Indicates whether a mapped operation exists
@param character the service name
@param character The relative URI (to the service)
@param MethodEnum The HTTP method
@return logical TRUE if the service exists */
|
|
|
LOGICAL HasService (character)
|
/* Indicates whether a named service is available in the registry.
@param character The name of the mapped service
@return logical TRUE if the service exists */
|
|
|
OnServiceDeregistered (ServiceRegistryEventArgs)
|
/* Publishes the ServiceDeregistered event
@param ServiceRegistryEventArgs The event args */
|
|
|
OnServiceRegistered (ServiceRegistryEventArgs)
|
/* Publishes the ServiceRegistered event
@param ServiceRegistryEventArgs The event args */
|
|
|
PutOperation (character, MappedOperation)
|
/* Adds a new operation map for a service.
@param character The service name
@param MappedOperation The operation map for this Method/URI */
|
|
|
PutSchema (character, character, handle)
|
/* Saves a schema for a given service
@param character The service name
@param character The schema name
@param handle An empty data structure (TT or PDS) */
|
|
|
PutServiceCatalog (character, JsonObject)
|
/* Sets a catalog for a named service
@param character The service name.
@param JsonObject A JSDO catalog. If no exist or none can be found, return null.
@throws AssertionFailedError If the name is empty or null
@throws AppError If the requested service does not exist in the registry */
|
|
|
PutServiceOptions (character, JsonObject)
|
/* Sets the service options for a named service
@param character The service name.
@param JsonObject A JSON object containing options.
@throws AssertionFailedError If the name is empty or null
@throws AppError If the requested service does not exist in the registry */
|
|
|
RegisterAllFromFolder (character)
|
/* Registers all services found in a given folder. Can be used at agent startup
@param character An extant folder */
|
|
|
RegisterFromFile (character)
|
/* Registers all services found in a given file. Can be used at agent startup
@param character An extant file */
|
|
|
RegisterFromFile (character, character)
|
/* Registers a named service found in a given file. Can be used at agent startup
@param character A service name
@param character An extant file */
|
|
|
RegisterService (character, character, JsonObject, JsonObject, JsonObject)
|
/* Register a service in this handler.
@param character (mandatory) The service name.
@param JsonObject (recommended) An operation map for the service.
@param JsonObject (optional) A catalog for the service. Optional since it may exist on disk */
|
|
|
RemoveOperation (character, character, MethodEnum)
|
/* Removes an operation mapping from the collection operation maps.
No-op if none exists.
@param character the service name
@param character The relative URI
@param MethodEnum The HTTP method */
|
|
|
RemoveSchema (character, character)
|
/* Removes an operation schema from service
No-op if none exists.
@param character the service name
@param character The schema name */
|
|
|
LOGICAL TryFindService (character, character)
|
/* Indicates whether a named service is available. Will attempt to
locate a service map if it is not yet registered, and will register
it if one can be found. The search path for finding the service mapping
files is
1. Look in the webapp's WEB-INF/openedge folder first
2. Look in the instance's /openedge folder next
3. Look in the rest of PROPATH
@param character The name of the mapped service
@param character The name of the webapp currently executed
@return logical TRUE if the service exists */
|