Top "Jaxb" questions

Java Architecture for XML Binding is the Java standard for working with XML as domain objects.

Validating against a Schema with JAXB

I've been looking for solutions to this problem for far too long considering how easy it sounds so I've come …

xml validation schema jaxb well-formed
Is there a way to deal with duplicate element definitions across multiple .xsd files in JAXB?

I have dozens and dozens .xsd files that I want to auto-generate code for. A couple of the files have …

java maven jaxb maven-plugin maven-jaxb2-plugin
JAXBContext initialization speedup?

Is there any way to speed up the initialization of javax.xml.bind.JAXBContexts with a large (>1000) number of …

java performance jaxb
JAXB External Custom Binding XJC Issue - Parsing results in empty node

Forgive me if this is a duplicate. Here is my binding.xjb file. But now i am getting the regular …

jaxb xjc
Customizing Java packages JAXB wsimport

I'm trying to generate a client with maven and jaxb from a wsdl file with 2 schemas inside and some elements …

java maven jaxb wsdl spring-ws
JAXB: How do I annotate classes so that they belong to different namespaces?

I want to have JAXB-annotated classes which would be marshalled/unmarshalled to different XML namespaces. What I need is something …

java xml namespaces jaxb urn
Inject JAXBContext into spring

I am trying to inject a JAXBContext into spring application context, by: <bean id="jaxbContext" class="javax.xml.bind.…

spring jaxb code-injection
JAXB partial-unmarshalling Elements without @XMLRootElement

I am using the partial-unmarshalling example of JAXB, but I am unable to unmarshal XML-Elements which are not on the …

java jaxb partial unmarshalling
JAX WS RS using Jersey - returning Collection, Map etc

I'm using Jersey 2.3 My WS endpoint class : @Path("/employees") public class EmployeeWSEndpoint { @Context Request request; @GET @Path("/allEmployees") @Produces(MediaType.…

rest jaxb jax-ws jersey-2.0
Serializing with JAXB and the Any

I have a schema that defines the following type: <xsd:complexType name="Payload"> <xsd:sequence> <…

java xsd jaxb axis2