Top "Moxy" questions

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

Jaxb project in eclipse indigo

When I create a jaxb project in eclipse indigo, it tells me "The currently selected JAXB library provider is invalid" …

java jaxb eclipselink moxy
JAXB: Marshal output XML with indentation create empty line break on the first line

When I marshal an XML with this attribute marshal.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE); marshal.setProperty(Marshaller.JAXB_FORMATTED_…

java jaxb moxy
How to set namespace aware to false?

I'm trying to parse some XML with EclipseLink MOXy, and it's failing on the line with the xsi attribute. If …

java xml jaxb eclipselink moxy
MOXy JAXB javax.xml.bind.PropertyException

I followed this example: http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JSON_Twitter Now I have this class: import javax.…

java jaxb eclipselink moxy
How to remove xmlns:xsi and xsi:type from JAXB marshalled XML file

I've got a set of JAXB generated classes and some of the classes have setter methods which accepts "Object" as …

java xml eclipse jaxb moxy
Jersey 2.0 Content-Length not set

I'm trying to post to a web service that requires the Content-Length header to be set using the following code: // …

java jersey jax-rs moxy
MOXy exceptions in JavaEE Jersey 2.0 project

Im trying to implement Json support in a JavaEE project but had issues with MOXy related exceptions being generated. I …

rest jakarta-ee jersey moxy
JAXB: Qualified attributes disables default namespace xmlns=""?

When I use @XmlSchema(attributeFormDefault = XmlNsForm.QUALIFIED, ...) or@XmlAttribute(namespace = "sample.com/y", ...) JAXB ignores @XmlSchema(namespace = "sample.com/x", ...) …

jaxb jaxb2 moxy
My jax-ws webservice client returns only empty objects

I have a third party webservice for which I generate a client using wsimport. Each call to the webservice completes …

java jaxb jax-ws moxy
Force Glassfish4 to use Jackson instead of Moxy

Glassfish4 is using Moxy to serialize REST responses into JSON. Does anybody know how to configure application to use Jackson …

glassfish jersey jackson moxy