5 5 1 SERVICE_LOAD

LANSA Integrator

5.5.1 SERVICE_LOAD

On the SERVICE_LOAD event the service stores the HTTP properties for later access by the GET command.

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.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

SERVICE_LOAD

BIND

 

Optional. See BIND.

ARCHIVE

 

Optional. See ARCHIVE.

CONTENT

 

Optional. See CONTENT.

ENCODING

 

Optional. See ENCODING.