Questions tagged [smooks]

Smooks is an extensible framework for building applications for processing XML and non XML data (CSV, EDI, Java etc) using Java.

Smooks is an extensible data integration Java framework for building XML and non-XML fragment-based applications.

178 questions
44
votes
5 answers

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli)

Im working on Smooks - Camel Integration.Im stuck with an error.The Build Fails when I try to Run it using mvn exec:java [ERROR]: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project …
Shrikant Pagar
  • 441
  • 1
  • 4
  • 3
28
votes
2 answers

Comments in freemarker template and smooks

I am working on a freemarker template and here is a sample. ${(currentGrantorIndex)!?string} // want to comment this line ${(grantor.entityTypeName)!?string} I want to know how to…
SikanderAhmed
  • 361
  • 1
  • 5
  • 14
25
votes
1 answer

EDI file generation using SMOOKS

How can I convert XML file to EDI file using SMOOKS? I am able to convert EDI to XML, in fact this is part of examples provided by SMOOKS.
Shirish Bathe
  • 627
  • 9
  • 22
6
votes
3 answers

Tomcat server wont start in eclipse due to servlet

I'm writing a program that's parsing an XML file to java objects using smooks. I've been asked to run this as a servlet. The application (before being converted to a servlet) worked just fine, but the tomcat server crashes every time I try to run…
Matt O'
  • 63
  • 1
  • 1
  • 4
5
votes
1 answer

How to achieve list.list to list copy in smooks

I'm a beginner in smooks. I'm facing an issue. This is java-java transformation. I have a list and within that I have an inner list with 2 objects. How can I achieve list.list to list copy in smooks?
shree
  • 73
  • 5
5
votes
1 answer

wso2 esb file processing example smooks csv parser first line includes payload namespace

Dabbling with WSO2 ESB example http://wso2.org/library/articles/2011/01/wso2-esb-example-file-processing but encountering a problem where when a simple csv file name0,value0 name1,value1 name2,value2 name3,value3 is parsed by smooks using this…
radder5
  • 236
  • 3
  • 14
4
votes
1 answer

From java Object prepare the edi data

I am newbie in edi data. I am using smooks api to read the edi data and able to parse it into java object. I want to convert java object to edi data for that i am not getting much information. Here is the example i am trying to read from edi file…
RCS
  • 1,370
  • 11
  • 27
4
votes
2 answers

Smooks EDI writer

It is seen in the smooks website that it supports EDI generation. But there is no way to specify the configuration for an edi writer (as in the case of reader defined in schema http://www.milyn.org/xsd/smooks/edi-1.1.xsd). In some old posts in…
Naveed S
  • 5,106
  • 4
  • 34
  • 52
3
votes
1 answer

ETL Tools: GUIs vs. Frameworks

I hear the term "ETL tool" used a lot lately and started digging in to learn more about them. I found a great list of open source ETL tools for Java here and started reading up on them. But that made me really confused. Most of these tools…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
3
votes
1 answer

using apache camel, smooks and flatpack

I am writing a route using camel and smooks, with the producer as a JPA repository that produces a List of JPA Objects, which I need to send to an sftp server as a fixed width file. Here is what I think is required for this to occur The…
Sam Hammamy
  • 10,819
  • 10
  • 56
  • 94
3
votes
1 answer

Problems with smooks

I am currently evaluating smooks (www.smooks.org). It looks just like what we need but I am having problems getting a simple example to work. I've got an ant script which downloads me all the dependencies including the mapping and binding jars for…
Ben
  • 1,922
  • 3
  • 23
  • 37
3
votes
1 answer

How do I skip headers in CSV file in WSO2 Micro Integrator

I am using smooks mediator to convert csv file to json using VFS. We have an option to skip header row while using the CSV connector/module. How do I skip the first row of headers while processing the file in WSO2 Integration studio using smooks?
Ruby
  • 368
  • 1
  • 9
3
votes
1 answer

Apache Camel GenericFileOperationFailedException: 'Cannot rename file' locks exchange

We have an integration system based on Camel v2.16.1 that runs on a Jboss v6 Linux platform. There are multiple interfaces running simultaneously each with a different polling rate. We are intermittently experiencing 'Cannot rename file' issue with…
3
votes
0 answers

which is better choice to read edi data and convert to java object

I am new to edi data. We have the requirement to parse edi data into java object. Smooks is one i found which i tested and works fine. Due to lack of documentation, i am not able to decide to directly go for it and start implementing with it. I…
RCS
  • 1,370
  • 11
  • 27
3
votes
1 answer

How to define ISA-Segment in smooks?

I am creating ANSI.X12 messages in a java program with the help of smooks. I'm defining the X12 messages myself using xml-files (with their http://www.milyn.org/schema/edi-message-mapping-1.2.xsd). Most of it works well enough, but I do have a…
kratenko
  • 7,354
  • 4
  • 36
  • 61
1
2 3
11 12