Top "Moxy" questions

MOXy is the object-to-XML and object-to-JSON component of EclipseLink.

JAXB unmarshalling multiple XML elements into single class

I have the following XML structure, which is modelling a single concept across multiple XML elements. This format is not …

java xml jaxb eclipselink moxy
Jersey 2.0 equivalent to POJOMappingFeature

I have some experience using Jersey < 2.0. Now I am trying to build a war application to provide a JSON …

java json web-services moxy jersey-2.0
Represent null value as empty element in xml jaxb

I need to display null value as empty element in jaxb. I am using moxy implementation of jaxb. I found …

java xml jaxb moxy
Exception in thread "main" javax.xml.bind.PropertyException: name: eclipselink.media-type value: application/json

I'm attempting to follow the example located here but get an javax.xml.bind.PropertyException. I receive this exception because …

java json jaxb eclipselink moxy
Where to include jaxb.properties file?

I have REST (Jersey) webservice that makes use of some data objects that are marshalled/unmarshalled to/from XML. The …

properties jaxb eclipselink moxy
JAXBException: "package" doesnt contain ObjectFactory.class or jaxb.index

I have been playing with JAXB / MOXy a lot lately, and it works great on all my tests and example …

spring hibernate jaxb moxy dbunit
MOXy deserialization exception: A descriptor with default root element was not found in the project

Here are my classes: @XmlRootElement(name="Zoo") class Zoo { //@XmlElementRef public Collection<? extends Animal> animals; } @XmlAccessorType(XmlAccessType.FIELD) @…

java json moxy
Jax-WS - To Remove Empty Tags from Request XML

I'm trying to consume a web service exposed by a provider. The Provider has a strict checking at his end …

xml web-services jaxb jax-ws moxy
JAXB Compiling Issue - [ERROR] Property "Any" is already defined

I am trying to create JAXB binding for xccdf-1.1.4.xsd which is a standard schema that can be obtain from …

jaxb eclipselink moxy
JAXB 2.x: How to unmarshal an XML without knowing the target class?

If there is a way, how to do this, I'd like to know the most elegant one. Here is the …

java jaxb jaxb2 moxy