Closed
Description
Mike Wiesner opened SWS-213 and commented
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();
}
Affects: 1.0.1