How to add missing namespace information?
In response to the invocation of a web service I'm getting a return that has the namespace missing from the "payload" of the SOAP message. This detail throws the JAXB unmarshaller off when it tries to convert the XML to a JAXB bound class.
To illustrate (The OverlayFileList tag is the one that is incorrect):
Should be: (The element needing fixing is OverlayFileList, which is missing namespace information)
I have a class that implements the SOAPHandler interface wherein I have tried many things to attempt to modify the message prior to unmarshalling so that JAXB does the right thing, but none of my attempts have been successful. The things I've tried are rather numerous so I'm reluctant to post them, but will if additional details are desired.
As a quick aside, I've even tried (successfully) modifying a copy of the SOAPMessage to include the missing namespace and tried to get JAXB to unmarshall the body, but approach this fails as well.
Any help would be most appreciated.