Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Stardust/Knowledge Base/Integration/Application/MessageOperations/MessageParsing"
(New page: == Purpose == Message Parsing Application is exactly the opposite of Message Serialization Application. Message Parsing Application transforms XML-data or SWIFT-data loaded from an exter...) |
(→Model Description) |
||
Line 7: | Line 7: | ||
Following model is used to implement an example of message transformation application (MessageParsingExample.xpdl): | Following model is used to implement an example of message transformation application (MessageParsingExample.xpdl): | ||
− | Using Plain Java Application Load XML Data App, determine the input message to be parsed as a string read from an XML-File (here: Customer.xml)<br> Using Message Parsing App, parse the XML-message (here: InputMessage) as a structured data Customer<br> Display the values of the structured data Customer, loaded from | + | Using Plain Java Application Load XML Data App, determine the input message to be parsed as a string read from an XML-File (here: Customer.xml)<br> Using Message Parsing App, parse the XML-message (here: InputMessage) as a structured data Customer<br> Display the values of the structured data Customer, loaded from Customer.xml<br> |
+ | |||
+ | [[Image:Stardust Integration Message Parsing Model.png]] |
Revision as of 03:57, 3 November 2011
Purpose
Message Parsing Application is exactly the opposite of Message Serialization Application. Message Parsing Application transforms XML-data or SWIFT-data loaded from an external file into the structured data that can be used in the Stardust model. The values defined in the XML/SWIFT-file are assigned to the corresponding fields of the structured data.
Model Description
Following model is used to implement an example of message transformation application (MessageParsingExample.xpdl):
Using Plain Java Application Load XML Data App, determine the input message to be parsed as a string read from an XML-File (here: Customer.xml)
Using Message Parsing App, parse the XML-message (here: InputMessage) as a structured data Customer
Display the values of the structured data Customer, loaded from Customer.xml