Hello -
I've created a job that parses a complex XML and maps the output to a CSV file, using Data Mapper in Talend Enterprise 5.4.1. I've tested the map, and the output looks great - works as expected.
Now I want to deploy my job to be able to execute it from Talend DI - as a part of a set of operations. I've exported my job from the Studio using File --> Export --> General --> Archive. I'd like to execute this job from my Talend Job using the Java API (think this is the most straightforward option that does not depend on 3rd party libraries) -
http://doc.talend.com/enterprise/talend_data_mapper/3.3/api.php The documentation talks of examples, but I couldn't find them - got errors when I selected Help --> Cheat Sheets...
Any help in deploying a Data Mapper job would be appreciated.
Thanks.
I made some progress by following the Scenario 2 on the link in my previous post.
I've configured my job as shown in the attached screenshots. I independently created a map in the Data Mapping perspective. Then I switched to the Integration perspective, created the job as shown and mapped to the map I had created in the Mapping perspective. Unfortunately, it failed with the following error:
Starting job Test004XML at 17:15 17/04/2014.
connecting to socket on port 3586
connected
Overall: Fatal
1: Info - Executing map. (328)
Map: /DATAMAPPERPROJECTS/Maps/NestedXMLs Properties: {}
2: Fatal - The transformation engine failed. (202)
Generated text: 01 declare namespace Flat = "urn
Hi willm, I know that it's too late for a response but I think this might help someone facing a similar issue in future. The reason that you're getting that exception is because of a configuration issue in tHMap component. You're reading a single XML as input and you intend to output a single XML, so change your tHMap component settings like below. Write Output As Document (single column) instead of Write Output As (Date Integration columns) Thanks, webdev