'SOAP WebService, Response Missing namespace

I have a local wsdl file from where I generate the model classes using JAXB. It looks like the actual response is missing the namespace causing an umarshalling exception.

(javax.xml.bind.JAXBElement) getWebServiceTemplate().marshalSendAndReceive("url",requestType, new SoapActionCallback("action"));

Is there anyway we could adjust this to ignore the namespace while unmarshalling?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source