I'm getting this error message:
[WARNING] Ignoring: binding file "file:/home/jeusdi/projects/salut/hes/hes-visor-api-service/src/jaxws/bindings.xml". It is not a jaxws or a jaxb binding file
It's telling me that my binding.xml file is not valid and it will be ingored.
My binding.xml file content is:
<jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
jaxb:version="2.0">
<jaxb:bindings >
<jaxb:globalBindings typesafeEnumMaxMembers="2000"/>
</jaxb:bindings>
</jaxb:bindings>
Any ideas?
If this is the Jakarta XML Web Services implementation that you're using, then you should not use
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"butxmlns:jaxb="https://jakarta.ee/xml/ns/jaxb".This did the trick for me for the exact same error.
See JAXWSBindingsConstants.java