Vantiv/litle-sdk-for-java

JAXB classes contains invalid schema declaration

Closed this issue · 1 comments

The xml that comes from litle in a response is using a namespace:

"http://www.litle.com/schema/online", but the LitleOnlineResponse class uses the package level namespace which is "http://www.litle.com/schema"

this causes JAXB to throw schema validation exceptions.

We fixed it by adding namespace to the @XMLRootElement

This issue seems to be resolved. If not feel free to reopen and I'll have another look.