You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the WebServiceTemplate with an alternate MessageFactory like DomPoxMessageFactory it nevertheless creates an instance of SaajSoapMessageFactory and then replaces this with the DomPoxMessageFactory.
I think it has to do with this constructor, where "this" should be called after setMessageFactory(messageFactory) and not before:
public WebServiceTemplate(WebServiceMessageFactory messageFactory) {
this();
setMessageFactory(messageFactory);
afterPropertiesSet();
}