Skip to content

WebServiceTemplate always creates SaajSoapMessageFactory instead of only DomPoxMessageFactory [SWS-213] #364

Closed
@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions