Top "Jaxb" questions

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

no suitable HttpMessageConverter found for response type

Using spring, with this code : List<HttpMessageConverter<?>> messageConverters = restTemplate.getMessageConverters(); for(HttpMessageConverter httpMessageConverter : messageConverters){ System.out.…

java xml spring jaxb
XML element with attribute and content using JAXB

How can I generate the following XML using JAXB? <sport type="" gender=""> sport description </sport>

java xml jaxb
JAXB :Need Namespace Prefix to all the elements

I am Using Spring WebServiceTemplate to make webservice call which uses JAXB to generate request XML. My requirement needs all …

java xml jaxb spring-ws
I can't understand why this JAXB IllegalAnnotationException is thrown

This is my XML file: <fields> <field mappedField="Num"> </field> <field mappedField="Type"&…

java exception jaxb
Jaxb, Class has two properties of the same name

with jaxb, i try to read an xml file only a few element in xml file are interesting, so i …

java xml jaxb
Using JAXB to unmarshal/marshal a List<String>

I'm trying to create a very simple REST server. I just have a test method that will return a List …

java rest jaxb
convert xml to java object using jaxb (unmarshal)

I have the following XML and I need to convert it into a java object. <tests> <test-data&…

java jaxb
JAXB: How to ignore namespace during unmarshalling XML document?

My schema specifies a namespace, but the documents don't. What's the simplest way to ignore namespace during JAXB unmarshalling (XML …

java xml xml-serialization jaxb
JAXB: how to marshall map into <key>value</key>

The question is about JAXB Map marshalling - there is plenty of examples on how to marhsall a Map into …

java xml jaxb jaxb2
java.lang.VerifyError: Expecting a stackmap frame at branch target JDK 1.7

After upgrading to JDK 1.7 I am getting below exception: java.lang.VerifyError: Expecting a stackmap frame at branch target 71 in …

java jaxb java-7