Class Ws
java.lang.Object
org.springframework.integration.ws.dsl.Ws
Factory class for web service components.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionCreate an instance.marshallingInboundGateway
(org.springframework.oxm.Marshaller marshaller) Create an instance with the providedMarshaller
(which must also implementUnmarshaller
).Create an instance with a defaultWebServiceTemplate
.marshallingOutboundGateway
(org.springframework.ws.client.core.WebServiceTemplate template) Create an instance with the providedWebServiceTemplate
.static SimpleWsInboundGatewaySpec
Create an instance.Create an instance.static SimpleWsOutboundGatewaySpec
simpleOutboundGateway
(org.springframework.ws.client.core.WebServiceTemplate template) Create an instance with the providedWebServiceTemplate
.
-
Method Details
-
marshallingInboundGateway
Create an instance.- Returns:
- the spec.
-
marshallingInboundGateway
public static MarshallingWsInboundGatewaySpec marshallingInboundGateway(org.springframework.oxm.Marshaller marshaller) Create an instance with the providedMarshaller
(which must also implementUnmarshaller
).- Parameters:
marshaller
- the marshaller.- Returns:
- the spec.
-
simpleInboundGateway
Create an instance.- Returns:
- the spec.
-
marshallingOutboundGateway
public static MarshallingWsOutboundGatewaySpec.MarshallingWsOutboundGatewayNoTemplateSpec marshallingOutboundGateway()Create an instance with a defaultWebServiceTemplate
.- Returns:
- the spec.
-
marshallingOutboundGateway
public static MarshallingWsOutboundGatewaySpec marshallingOutboundGateway(org.springframework.ws.client.core.WebServiceTemplate template) Create an instance with the providedWebServiceTemplate
.- Parameters:
template
- the template.- Returns:
- the spec.
-
simpleOutboundGateway
public static SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec simpleOutboundGateway()Create an instance.- Returns:
- the spec.
-
simpleOutboundGateway
public static SimpleWsOutboundGatewaySpec simpleOutboundGateway(org.springframework.ws.client.core.WebServiceTemplate template) Create an instance with the providedWebServiceTemplate
.- Parameters:
template
- the template.- Returns:
- the spec.
-