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

Unable to access binding information for class

I know this question has been asked over and over again, and its always an Eclipse Maven JIXB problem. I don't think it has ever been resolved. When I try to test my code I get the following error Unable to access binding information for class…
user2867582
2
votes
1 answer

JiBX binding DTD schema in Eclipse

I have warnings in binding xml files: No grammar constraints (DTD or XML schema) detected for the document. I have done as is written in the answer here: JiBX: How do I keep using interfaces in my code? (answer which is not accepted). But now I…
Trick
  • 3,779
  • 12
  • 49
  • 76
2
votes
0 answers

Binding JiBX to a JAXB POJO that has a List containing multiple types of objects?

Question: How do I bind JiBX to a JAXB POJO that has a List containing multiple types of objects? Background: We are attempting to migrate from JAXB to JiBX for XML serialization in order to increase performance. However, we cannot change the POJOs…
nattyddubbs
  • 2,085
  • 15
  • 24
2
votes
1 answer

JiBX bind value with getter only

I have a class with a complex method which returns boolean (no property field or setter for this field provided). I need to bind this class with JiBX so result of the method would be marshalled to XML element/attribute and would be omitted when…
andrey
  • 135
  • 1
  • 8
2
votes
0 answers

JIBX/JAXB Generate XML Schema of a class extending other classes from a .jar?

I need to build a XML Schema for a bunch of Java classes. I tried with JAXB (schemagen) and with JIBX (bindgen). My java class extends froma class in a library and contains several inheritances and subclasses. Failure 1 with JAXB: I get the…
Philipp
  • 4,645
  • 3
  • 47
  • 80
2
votes
0 answers

Spring Batch and JiBX: how to debug?

I am testing Spring Batch 2.1.9 on Spring ToolSuite 3.1.0.RELEASE Build Id: 201210061306. All the depend jars are contained inside the project thro' Gradle/Maven. I compiled my schema using JiBX on JDK1.6 and run the Spring Batch test program on…
2
votes
0 answers

inheritance with jibx

I have an input xml, which i need to parse and bind using JibX. We make use of a value in a specific node() of our xml to determine the type of child class that has to be initialized. sample.xml ChildClassType
praveenps
  • 77
  • 1
  • 9
2
votes
1 answer

Jibx Maven plugin: how to set Java package in xsd -> Java transform when namespace was defined

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) have a namespace "a.b.com" but I want that the generated Java sources are…
Alan Evangelista
  • 2,888
  • 6
  • 35
  • 45
2
votes
2 answers

Jibx always gives "Error during validation: null"

I'm really stumped on this incredibly simple mapping. It looks just like one of the examples even. If I comment out the internal structure, it'll run the binding compiler successfully. If I put the internal structure back in, it fails. Note that the…
Chris Kessel
  • 5,583
  • 4
  • 36
  • 55
2
votes
0 answers

Error in Http Header in SOAP Message "Unable to parse mediaType ' *; q=.2'" using JibXWS 1.2.3

I have a web service that accepts SOAP messages relating to opentravel.org OTA specified XML messages, using Tomcat 7.0.25 and JibxWS. I have tested using SOAPUI and it all works fine, however now a real client wishes to start using the service I…
iainmac999
  • 1,569
  • 2
  • 13
  • 12
1
vote
4 answers

maven - jibx codegen - storing binding.xml

I'm using maven to build a jar containing generated code from an schema file using jibx. To do this I'm using the jibx-maven-plugin with the schema-codegen goal. I want to include the generated binding.xml file as part of the resulting maven jar. Is…
David Loy
  • 963
  • 1
  • 8
  • 14
1
vote
0 answers

Jibx Error running binding compiler in eclipse oxygen maven?

I am new to jibx world i have generated the binding.xml and .java classes from CMD using mvn generate-sources phase everything work's fine even binding is happening(Able to convert XML to Object). Issue is when building the project eclipse Is…
Gopi Lal
  • 417
  • 5
  • 23
1
vote
0 answers

unable to parse unmarshall xsi:nil=true with jibx

I am receiving a soap message from an external server that is sending xsi:nil tag for a boolean element. JIBX complains about an invalid boolean value and its not able to parse this xml. How can I overcome this problem? incoming xml:
1
vote
2 answers

Resolve classes of maven dependencies in eclipse

Consider the following dependency hierarchy: Now I have maven-jibx-plugin in project D which generates the compiled classes in target/classes folder. But when I run my spring-boot project A the generated classes from project D could not be…
Khoda
  • 955
  • 2
  • 14
  • 42
1
vote
1 answer

How do I get IntelliJ 10 to deploy a project that uses JiBX?

I have a multi module maven project (a war) on of these modules utilized executes a post-compile step to update JiBX bindings. I would like to use IntelliJ to build and deploy this project. However I can't seem to figure out how to get IntelliJ to…
Karthik Ramachandran
  • 11,925
  • 10
  • 45
  • 53
1 2
3
12 13