Open RyanHow opened 9 years ago
"Make sure you use Jackson and not JAXB for Jersey" could you clarify this for me. As I'm not sure quite how to do that, and am running into issues related to the differences between Jackson and the default JAXB implementation.
I can't remember sorry!. I ended up tweaking the library a bit. I've attached the source here. I can't remember if there was any config needed elsewhere. We're not using this anymore.
You can probably do a diff to see what has changed and make any modifications.
Or you may be better off just starting a clean implementation and base it off their javascript docs.
For anyone wanting to use this, just beware, it is a starting point, but for anything but trivial API usage it doesn't work.
It uses XML, some of the API calls don't work with XML but require JSON.
Make sure you use Jackson and not JAXB for Jersey (This isn't the default), otherwise there are JSON formatting issues which make it incompatible.
Many of the types are wrong, they need to be Long or Double, not Int, or you get overflow issues or fields not populating.
Like I said, it is a starting point, but doesn't work out of the box.