Questions tagged [jibx]

JiBX is a tool for binding XML data to Java objects.

JiBX is a tool for binding XML data to Java objects. It's extremely flexible, allowing you to start from existing Java code and generate an XML schema, start from an XML schema and generate Java code, or bridge your existing code to a schema that represents the same data. It also provides very high performance, outperforming all other Java data binding tools across a wide variety of tests.

Project Homepage: http://jibx.sourceforge.net/

Another useful resource: Jibx Tutorial Part 1 Jibx Tutorial Part 2

185 questions
0
votes
0 answers

Jibx Maven plugin: splitting schemas, bindings and generated Java source files in different directories

I use Spring Object-Xml mapping with Jibx to convert some xsd files to Java source files. Jibx is called by jibx-maven-plugin in the build process. My schema files (.xsd) are in directory resources/oxm/schemas, my Java-XSD bindings files (.xml) are…
Alan Evangelista
  • 2,888
  • 6
  • 35
  • 45
0
votes
1 answer

JiBX How to bind /map static class?

I have below class public class RootElement { protected String code; protected RootElement.SubElement subElement; public static class SubElement { protected String desc; // Getter-Setter methods } //…
Ankur Raiyani
  • 1,509
  • 5
  • 21
  • 49
0
votes
2 answers

Java: log4j.properties missing in build after Maven clean

I made a maven project and are using slf4j with log4j. Also I am using jibx bindings. src/main/java is my class folder src/main/config folder for jibx bindings and generated classes both are declared as source folders the log4j.properties is in the…
0
votes
1 answer

Jibx vs JXPath in terms of performance

Dealing with a project in which huge volumes of XML files are processed and loaded into RDBMS. In the tranformation layer, XML file needs to be converted to java pojo , enriched validated and then inserted into DB. The file size is appx. 10…
Selvakumar Esra
  • 1,154
  • 2
  • 15
  • 30
0
votes
1 answer

How to unmarshal unsorted collection?

I have XML-string like: Service1 Service2 Service3 Service4
Xsar
  • 1
  • 2
0
votes
1 answer

JiBX Eclipse Plugin not shown in Rational Application Developer 8

I wanted to install the JiBX Eclipse Plugin in IBM Rational Application Developer 8. The Installation works fine. But after restarting the IDE there is nor context menu entry for JibX. How do I add an entry for Jibx?
veote
  • 1,400
  • 9
  • 33
  • 62
0
votes
1 answer

How to unmarshall using JiBX and not use XSD?

I want to use JiBX to unmarshall huge XML files, but I don't want it to validate against the XSD. How do I do this? Proof of concept (jUnit snippet that works for XMLs compliant against the XSD): IBindingFactory bfact =…
user689842
0
votes
0 answers

JiBX bindings lost when deploying jar dependency in Eclipse WTP

I am using Elipse Indigo, maven 2.2.1, m2e 1.0.2, maven integration for wtp 0.15.2, m2e connector for JiBX 1.2.3. I have a shared maven jar artifact which contains jibx bindings. The .project file for this looks like:
Alfonzo
  • 86
  • 4
0
votes
1 answer

Spring web service using JiBX

I want to create Spring web services using JiBX. I already have my Java classes. How do I proceed? Can someone give me link to a good tutorial Thanks!
hoshang.varshney
  • 1,110
  • 3
  • 15
  • 26
0
votes
1 answer

JiBX/PiBX SOAP binding example

I was trying to find some examples how to write binding.xml with JiBX/PiBX for following SOAP response but with no luck. Does anyone know how to do this?
Bojan Bijelić
  • 355
  • 1
  • 4
  • 8
0
votes
1 answer

Jibx generating toString method

I'm currently using the Jibx maven plugin to codegen Java POJOS from a defined schema. The code gets generated fine, but what I want is for the toString method to be generated too. As I am round tripping from Schema to Classes I cant manually define…
user983022
  • 979
  • 1
  • 18
  • 30
0
votes
3 answers

org.xmlpull.v1.XmlPullParserException

I'm trying to bind an xml file(as a byte[]) to a java object. This is my code- public voidinputConfigXML(String xmlfile, byte[] xmlData) { IBindingFactory bFact = BindingDirectory.getFactory(GroupsDTO.class); …
hari
  • 1,297
  • 5
  • 17
  • 36
0
votes
1 answer

Binding extra info in JiBX

Lets assume there is a user.xml which contains the actual user input [user info like name,address, etc.] Based on that, certain java objects are created. Now when it comes to binding.xml, I should definitely mention all the values given in the…
hari
  • 1,297
  • 5
  • 17
  • 36
0
votes
2 answers

JiBX Eclipse Plugin Error when compile

I am trying to use JiBX with Ecplise Indigo and JiBX Plugin for Eclipse 1.2.3. When the eclipse Plugin compiles the binding I get the following output and error: OUTPUT: JiBX build begin @ Mon May 14 08:22:56 CEST 2012 JiBX build Workspace invoked…
veote
  • 1,400
  • 9
  • 33
  • 62
0
votes
1 answer

compiled JiBX classes not in EAR file

I try to run a JiBX mapping on a WebSphere Application Server 8. I compile the binding with ant in Eclipse. When I run the application as "Java Application" then no errors occur. But when I create an ear-File of the project and deploy it on…
veote
  • 1,400
  • 9
  • 33
  • 62
1 2 3
12
13