Use JAXB (xjc) generated classes in android
I am using a Rest-Webservice in Android . The Web Service could handle JSON and XML , the API is described as an XSD . So I used JAXB to generate classes from the XSD and then I used jackson JSON processor to generate JSON from my instances. The problem is, that JAXB ( xjc ) generates classes with JAXB annotations and Android can't handle those. I tried to add the jaxb-api.jar to my android project but the Dalvik won't use core classes. For my first implementation I manually removed the annotations. But now the XSD was updated and I don't want to do this every time this happens. Do you have