Created
November 21, 2014 22:43
-
-
Save cchacin/69acd11e1ada9abe268c to your computer and use it in GitHub Desktop.
Apache TomEE Jettison configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.openejb.org/openejb-jar/1.1"> | |
<pojo-deployment class-name="jaxrs-application"> | |
<properties> | |
cxf.jaxrs.providers = jsonProvider | |
</properties> | |
</pojo-deployment> | |
</openejb-jar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<resources> | |
<Service id="jsonProvider" class-name="org.apache.cxf.jaxrs.provider.json.JSONProvider"> | |
dropRootElement=true | |
supportUnwrapped = true | |
dropCollectionWrapperElement=true | |
</Service> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment