Typical XMLQueryService Command Usage

LANSA Integrator

Typical XMLQueryService Command Usage

Whether you are writing your client application in RDML / RDMLX or in a 3GL such as RPG or C, you have to complete the same basic steps.

For example, an application that interrogates values from an XML document using the XMLQueryService would typically issue the following sequence of commands:

JSM(X)_OPEN

JSM(X)_COMMANDs
       SERVICE_LOAD

              LOAD

              QUERY

       SERVICE_UNLOAD

JSM(X)_CLOSE

Refer to Java Service Manager Clients for the command details that apply to your chosen development language.