Previous Topic: Sample MessagesNext Topic: External Agent Response Message


External Agent Request Message

This is a sample External Agent Request message sending file c:\test\data\ExtAgent\Small_File.txt (14 bytes).

External Agent Request ================================================

Header

  Schema          : 0x01001001
  Message Size    : 504
  Routing ID      : 0
  Message ID      : 1
  Message type    : 0x10001000 (External Agent Request)
  Priority        : 0
  Flags1          : 0x00 (No Flags set)
  Flags2          : 0x00 (No Flags set)
  Flags3          : 0x00 (No Flags set)
  Hr Process      : 0x00000000
  Routing Context : 0x00000000
  Reserved 2      : 0x00000000
  Reserved 3      : 0x00000000

Message data

Data Header

  Object Type      : 0x00000002 (File)
  Object Format    : 0x00000004 (File)
  Object Transport : 0x00000002 (Memory)
  Request Flags    : 0x0001 (Enable Deferred Completion)
  Response Flags   : 0x0001 (Return XML)
  XML Results Flags: 0x00000001 (Smart Tags)
  Element Count    : 0x00000003
  Reserved 1       : 0x00000000
  Reserved 2       : 0x00000000

Data Element (1)

  Data Length       : 0x00000038 (56)
  Data Type         : 0x00000002 (Message ID)
  Import Source     : 0x00000063 (99)
  Message ID size   : 0x00000028 (40)
  Message ID        : DstTest Message ID 1

Data Element (2)

  Data Length       : 0x0000015a (346)
  Data Type         : 0x00000004 (XML Metadata)
  <?xml version="1.0" encoding="utf-16" ?>
 <apm schema_version="1" xmlns=http://www.orchestria.com
	xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
	xsi:schemaLocation="http://www.orchestria.com xmleventattributes.xsd">
	<event>
		<file>
			<host>ta-gf-wxptest</host>
			[set the File Name variable]Small File.txt </filename>
			<path>c:\test\data\smarttag</path>
		</file>
	</event>
 </apm>

Data Element (3)

  Data Length       : 0x00000016 (22)
  Data Type         : 0x00000001 (Data)
  00000000: 4120536d 616c6c20 66696c65 0d0a     : A Small file..  :

Footer

  Signature         : 0x99999999
External Agent Request ends===========================================