Category "jaxb"

JAXB unmarshalling - reader cannot be null

I want to retrieve some data from JMS, filter them and send them to REST server. When I unmarshal those data I get an error: java.lang.IllegalArgumentException

JAXB - Unmarshalling of abstract classes (InstantiationException)

I know, that it might seem that this question is a duplicate of this one: InstantiationException during JAXB Unmarshalling (abstract base class, with @XmlSeeAls

How to run XJC with Java 11 and maven?

To generate java classes from XSD (for reading XML files), we used jaxb2-maven-plugin and Java8. For java 11, we get many issues... What libraries and plugin

How to rename xs:simpleType during jaxb XJC generation?

I'm using jaxb and xjc to autogenerate java classes from xsd files. Problem: I have two files that show the same simpleType name. And thus get a compilation err

Creating a JAVA Object from XML using Jackson XML for multiple elements with same TAG

I have the following XML Structure which I am using to create a Java Object. <TABLE NAME="AB" ID="10" CODE="ABC123" RANK="102" YEAR="2022" TIMESTAMP="

JAXB: Concrete type information (xsi:type) missing on marshalled XML

I'm generating JAXB classes from XSDs for a SOAP WebService I'm building a client for (generated with jaxws-maven-plugin v2.4.1, wsimport goal). I'm having a

Forcing jaxb2-maven-plugin to generate setters or constructors

I have a following build configuration. It is working properly, however the problem is in case of generating constructor with all args or generating setters for

Spring Boot, ClassNotDef Error with JaxB, Package -Info.java

I am using AJSC framework in SpringBoot with JaxB implementation. I built the stubs outside the project and copied them inside the project with proper directori

Jaxb ignore the namespace on unmarshalling

I use Jaxb2 and Spring. I am trying to unmarshal some XML that are sent by 2 of my customers. Up to now, I only had to handle one customer which sent some xml

XJC binding file: override package based on namespace instead of schemaLocation

I'd like to override package for my schema via binding .xjb file. It is done with: <schemaBindings> <package name="com.schema.common" /> </sc

using maven deployit plugin which relies on jaxb with java 11

We just migrated our project to java 11. We configured new dependencies in the pom for the jaxb &co packages that were present in jdk-8 but were removed in

Unmarshalling an XML using Xpath expression and jaxb

I am new to JAXB and would like to know if there is a way by which I can unmarshall an XML to my response object but using xpath expressions. The issue is that

Any alternatives to the JAXB XJC-compiler reference implementation from glassfish?

I am wondering if there are any alternatives to the reference implementation of the JAXB XJC-compiler from Glassfish!? Don't understand me wrong, the XJC is wor