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 - create closing tags when marshalling empty values to XML

When marshalling an empty value, the XML generated looks something like: Some data The output I'd like to see, however, is more like…
Denham Coote
  • 634
  • 8
  • 18
0
votes
1 answer

Jibx Class in multiple binding

actually i have a next binding:
jthan24
  • 11
  • 1
0
votes
1 answer

schema-codegen failed: A required class was missing while executing

I am getting the below error while trying to build an application. This is failing while running tests otherwise it is fine : WARNING: Error injecting: org.jibx.maven.SchemaCodeGenMojo java.lang.NoClassDefFoundError:…
Aakash
  • 1
  • 3
0
votes
1 answer

Jibx : Internal error - cannot modify class from jar

I have two Projects : Project A and Project B Project A have a Class Items, Which also have collection of same class Items. Class Items { private List list; } I have included Project A in Project B class path . Now Project B contains Jibx binding…
0
votes
1 answer

Does -nexclude work when using JiBX as the CXF databining?

I am trying to get CXF (2.7.7) to use JiBX (1.2.5) for databinding. The documentation is a bit sketchy, but there have been reports of success with it. One problem is that CXF does not pass configuration to the JiBX code generator, so if you need to…
maw
  • 71
  • 1
  • 10
0
votes
2 answers

Spring WS + JIBX "No adapter for endpoint" Error

I use JIBX to create my entity classes from XSD files. It is configured in pom.xml and creates classes when I do a "maven: compile" I also use spring-ws. When I test my web service with SOAPUI I get the infamous error; "No adapter for endpoint…
Spring
  • 11,333
  • 29
  • 116
  • 185
0
votes
1 answer

JIBX on android. LogCat show: Could not find class 'X', referenced from method 'Y + exception java.lang.VerifyError

I'm programming an application on Eclipse which use the lib JIBX. I strater to follow this tutorial : "http://www.ibm.com/developerworks/java/tutorials/j-jibx2/". It works perfectly on a classic JAVA project. I can generate a xsd from a classe,…
Skartt
  • 551
  • 2
  • 7
  • 19
0
votes
5 answers

Loading Environment Variables in java through the Ant script

I'm using jibx to convert a xml to JAVA and vice versa. Here, in an Ant script, I'm using the following code to load the JIBX_HOME path from the environment variable:
ironwood
  • 8,936
  • 15
  • 65
  • 114
0
votes
1 answer

Jibx: set default attribute value for an auto-generated class

I have a Java class which is auto-generated from a xml schema file using JIBX. I'd like to have a default value for a class attribute. I have set the default attribute value in the xsd, but I do not see any changes in Java class source code when I…
Alan Evangelista
  • 2,888
  • 6
  • 35
  • 45
0
votes
1 answer

Jibx binding with multiple namespaces

I have the following XML which I need to develop a Jibx binding for
Farouk Alhassan
  • 3,780
  • 9
  • 51
  • 74
0
votes
1 answer

Binding and Unbinding of a class that extends a JibX auto-generated class

I have a class called ObjectClass that was auto-generated by JibX from a .xsd file. To prevent class name issues this class has been relegated to its own package, such as com.CompanyName.ProductName.SDK.Device.GetCommandsResponse.ObjectClass This…
JME
  • 2,293
  • 9
  • 36
  • 56
0
votes
1 answer

jibx : how to remove the word "List" from auto generated java collections?

I'm using jibx to auto generate java classed based on a xsd schema. In this schema I have a collection called markets: When I run jibx (using maven…
marcocast
  • 401
  • 4
  • 9
0
votes
1 answer

Unable to get JIBX IBindingFactory based on binding file

I use Eclipse with Maven (m2eclipse plugin) and JIBX to (un)marshall XML. It works if I use the factory like this: IBindingFactory bindingFactory = BindingDirectory.getFactory(mappedClass); However I want to create a factory based on the binding…
user2378199
  • 1
  • 1
  • 1
0
votes
1 answer

Jibx Codegen class not found

I'm trying to run Jibx CodeGen in the command line to generate Java source files from xml schema (xsd) files. However, it seems I'm not even able to run CodeGen. I know I should provide at least the input xsd as parameter, but CodeGen crashes…
Alan Evangelista
  • 2,888
  • 6
  • 35
  • 45
0
votes
1 answer

Camel - Trying to marshall parameters with JIBX and send it to CXF-CAMEL endpoint

Basiaclly I've got the XML-d object to send, thanks to JIBX, I've got the WSDL endpoint. I just want to get the thing to that endpoint. it's proving extremely difficult for me. I would like to use POJO mode because it looks much simpelr than the…
user1743310