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
1 answer

jibx adding members to a collection via multiple xml files

We're using jibx for our configurations and everything works well so far. I'd like to take one of my mapped objects and have a collection currently configured on that object be configurable by multiple xml files, one for each object in the…
Speck
  • 2,259
  • 1
  • 20
  • 29
0
votes
1 answer

Jibx Java.lang.illegalStateException:internalerror- no direct access to class enumAbc

I am facing issue while upgrading jibx version 1.3.1 from 1.2.1 for java8 Faceing issue Jibx :Java.lang.illegalStateException:internalerror- no direct access to a class. This will happen while doing jibx compile Could you please suggest some one.
Venkata
  • 9
  • 1
  • 1
  • 4
0
votes
1 answer

How does biding happens in JAX-Rs xml to object?

I have been exploring on how to consume the web services and I found a good articles on JAX-Rs and it is the way to consume Rest Webservices. my task is to hit the URL which returns the XML as response and should be converted into Object which I…
Gopi Lal
  • 417
  • 5
  • 23
0
votes
2 answers

Maven incorrect version of JIBX getting picked from POM.xml

I have a maven project that is running smoothly on JAVA 7 but recently I wanted to migrate everything from 1.7 to JDK 1.8 but I've started getting error traces because of JIBX libraries. On a similar thread : [Check this StackOverflow link][1]- I…
Raman Verma
  • 113
  • 9
0
votes
1 answer

Maven compilation jibx plugin

I recently upgraded java from 1.6 to 1.8 in my maven project. I'm using Eclipse IDE, and since that upgrade my pom.xml does not compile anymore because an error is shown on the jibx plugin : Should never be called with null root…
TCH
  • 421
  • 1
  • 6
  • 25
0
votes
1 answer

Weblogic 12c deployment shared library not picked while deploying to managed server

Application is a EAR file Shared Library where the third party jar are bundled and deployed to managed server as shared library. weblogic-application.xml file where library ref to shared library is made and present in EAR file(META-INF…
shashi27
  • 189
  • 4
  • 19
0
votes
1 answer

Jibx unmarshal run time error: NoSuchMethodError

I read XML contant from file and pass xml stream to convert xml to object. I'm not sure why im getting below the error when i running the unmarshal in jibx runtime. I incuded jibx /lib/jibx-run.jar and /lib/xpp3.jar jar in to the project…
user881703
  • 1,111
  • 3
  • 19
  • 38
0
votes
0 answers

Can't unmarshall REST response Spring-Jibx

I have a problem unmarshalling a RESTful request body using Spring and Jibx. This is the request body I'm sending through Postman:
0
votes
1 answer

java.sql.Time value changing after JibX binding

I came across very surprising behavior of java.sql.Time today. My setter method sets the time correctly to the property. But when that property gets marshaled using JiBX, The output in XML is something as Below. actual Time : 05:24:35 after…
Tushar Banne
  • 1,587
  • 4
  • 20
  • 38
0
votes
1 answer

How to optimize Maven JiBX Plugin

While using jibx:bind goal in a maven project, is it possible to optimize the plugin so that it generates schema binding only when the .xsd (schema) itself changes? The only way I can find it to avoid running a goal is to create profiles, but I…
Jaywalker
  • 3,079
  • 3
  • 28
  • 44
0
votes
1 answer

Unable to load class on jibX binding compilation

Hi I'm new to JibX and just started with a sample. on running the binding compiler in command prompt , it throws the below error, C:\Users\Uvais\JavaProject\src\com\jibX>java -jar C:\Drive\jibx_1_2_6\jibx\lib\jibx-bind.jar binding.xml Error: Unable…
Mohamed Uvais M
  • 185
  • 1
  • 2
  • 14
0
votes
1 answer

Unable to bind jibx idea tool

Error:Jibx Compiler: Error running binding compiler org.jibx.runtime.JiBXException: Binding .DS_Store is unusable because of validation errors at org.jibx.binding.Utility.loadBinding(Utility.java:358) at…
Sagar Sahni
  • 394
  • 5
  • 16
0
votes
1 answer

Creating xml test data in java from Oracle database

When we encounter production issues, it becomes difficult to debug them, firstly due to no access to production database and secondly since the component is so heavy, it doesn't come up on local machines. All we are left with is manually traverse…
Varun N
  • 23
  • 4
0
votes
1 answer

How do I get Jibx to add two different objects implementing the same interface in a collection?

Like the title says, I have two different objects that implement the same interface and I want to add them to the same collection. My XML looks like: 1
MikeHoss
  • 1,477
  • 4
  • 18
  • 35
0
votes
1 answer

JiBX: How to run codegen on a schema that imports into the no-namespace schema

I have a schema here where I am trying to include/import another schema that has no namespace (and this cannot be changed because it comes from another vendor and it would no longer validate their XML). Here is the first Schema:
Zombies
  • 25,039
  • 43
  • 140
  • 225