Skip to content

spring-integration-ws WS DSL requires setting URI when WebServiceTemplate already has default URI set #10574

@dmfrey

Description

@dmfrey

In what version(s) of Spring Integration are you seeing this issue?

7.0.0.RC2

Describe the bug

Ws.marshallingOutboundGateway will not start without specifying the .uri() in the DSL, even though the supplied WebServiceTemplate has a defaultUri set

To Reproduce

  1. Create WebService Marshalling Outbound Gateway, specifying only the WebServiceTemplate
return f -> f.handle(WS.marshallingOutboundGateway(webServiceTemplate);

Application fails to start, indicating the Ws.marshallingOutboundGateway requires the URI to be set

Expected behavior

Ws.marshallingOutboundGateway() should be able to infer the uri from the supplied WebServiceTemplate if the defaultUri has been set.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions