5 24 4 SEND

LANSA Integrator

5.24.4 SEND

When the SEND command of this service is executed the following steps occur:

The service using the XSL keyword transforms the program fields and list into the resultant XML. If a FRAGMENT keyword is present this transformation is stored, as this is only a fragment of the final XML to be sent. When no FRAGMENT keyword is present this transformation is treated as the last and the final output XML is constructed and ready to put on a queue.

The XMLQueueService can send text messages, if the result XML uses the text tags to wrap the text message and the MESSAGE(*TEXT) keyword is present on the final SEND command, these tags are removed and the text value is sent.

 

<?xml version="1.0" encoding="utf-8"?>

<text>The quick brown fox jumped over the lazy dogs</text>

 

 

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

SEND

XSL

 

Mandatory. See XSL

*COPY

Copies the input source to the output source.

FRAGMENT

 

Optional. See FRAGMENT.

OUTPUT

 

Optional. See OUTPUT.

MESSAGE

*TEXT

Optional. Send text message.