Testing AGS Transaction Configuration

Using an input file, a sample AGS transaction call can be made from the command line to test whether the AGS transaction configuration is working.

To test the AGS configuration

  1. Create a test input file %LASRCDIR%\productline\ICI1.input containing the following lines:
    -da sourcing
    #-u 2638
    -token ICI1.1
    -fc G
    -event ADD
    -debug
    -i METHOD-FLAG=12
    COMPANY=8476
    ITEM="ITEM 1" -o OUT-UOM 
    
  2. Make sure that the Infor Lawson System Foundation web server is running.
  3. At a Landmark command prompt, type

    agstransaction -f %LASRCDIR%\productline\ICI1.input

  4. If the AGS transaction call is successful, the XML result from the form will be returned.
    Note: 

    If the data is not valid for the region being called you may get a small exception. This exception is normal, because the form returned a validation error. If you look closely you will see that the XML was returned, and that the form message that caused the exception is present. In this case, the call worked and communication with the form was successful.

    A call failure will not communicate with the form and return the form XML. Failure also generally yields a large exception stack trace.