I tried in the node to set the header info first and then do the following below but I am getting an "No valid body of the document could be found" error.
-- SET HEADER INFO FIRST
--Add Content of incoming to message...
SET OutputRoot.XML.MQmessageEnvelope.messageContent.*[] = InputBody.legalEnvelope.*[];
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
I did the following to do this...
--SET Header Info...
--Set incoming message to be part of content of new message.
DECLARE XYZ REFERENCE TO OutputRoot.XML.legalEnvelope;
DETACH XYZ;
ATTACH XYZ TO OutputRoot.XML.MQmessageEnvelope.messageContent AS FIRSTCHILD;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum