using resteasy 1.1 together with latest jaxb 2.2
using Jackson transformation of JAXB classes and added the Mapped annotation to the called
service. works fine. but i wanted to add the namespace mapping (to a json name) against
the actual JAXB class being marshalled. so i created a XJC plugin to write the necessary
annotation in every class (giving the json name equal to the package name just to keep it
simple). read from the PDF guide that this would work:
"You use the @Mapped annotation on your JAXB classes, on your JAX-RS resource method,
or on the parameter you are unmarshalling"
but the namespace isn't recognized at runtime and i get the classic:
"java.lang.IllegalStateException: Invalid JSON namespace"
bug?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254218#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...