This example is to copy any input message, the whole XML into a single node on a destination typed message.
In this example, I use this destination schema:
I want to copy any input message inside the node MyRecord. Your record must have a Any child record.
With the xpath function inside our orchestration is easy.
In this example, I use this destination schema:
I want to copy any input message inside the node MyRecord. Your record must have a Any child record.
With the xpath function inside our orchestration is easy.
- Get the content of the source XML in an System.Xml.XmlElement variable (Variable_1):
Variable_1 = xpath(Message_1, "/");
- Init the destination message with a Message Assignment shape:
No comments:
Post a Comment