5.9.1 SERVICE_LOAD

Loads and initializes the service.

Syntax:

Command

Keyword

Value

Developer notes

SERVICE_LOAD

SERVICE

HTTPInboundJSONBindService

 

TRACE

 

Refer to Service Load Tracing for value details.

TRACE_NAME

 

TRACE_GROUP

 

BIND

 

Optional. See BIND.

ARCHIVE

 

Optional. See ARCHIVE.

CONTENT

 

Optional. See CONTENT.

ENCODING

 

Optional. See ENCODING.

 

Associated Service Properties File

Properties that affect the operation of service are loaded from the HTTPInboundJSONBindService.properties file.

Example

SERVICE_LOAD SERVICE(HTTPInboundJSONBindService) TRACE(*YES)

 

If there is content, the service checks that the content type is application/json, if it does not support the content type, then an error is returned to the program. Use the CONTENT keyword to override this check and to allow the service to receive the data.

The service determines the encoding to apply to the received content to convert it to Unicode.

The JSON Unicode string is converted into a JSON object.

The service determines if this Unicode data needs to be archived.

The service determines if the query string parameters need to be bound to the program fields or list.