Class Ws
java.lang.Object
org.springframework.integration.ws.dsl.Ws
public final class Ws extends Object
Factory class for web service components.
- Since:
- 5.3
- Author:
- Gary Russell, Artem Bilan
-
Method Summary
Modifier and Type Method Description static MarshallingWsInboundGatewaySpec
marshallingInboundGateway()
Create an instance.static MarshallingWsInboundGatewaySpec
marshallingInboundGateway(Marshaller marshaller)
Create an instance with the providedMarshaller
(which must also implementUnmarshaller
).static MarshallingWsOutboundGatewaySpec.MarshallingWsOutboundGatewayNoTemplateSpec
marshallingOutboundGateway()
Create an instance with a defaultWebServiceTemplate
.static MarshallingWsOutboundGatewaySpec
marshallingOutboundGateway(WebServiceTemplate template)
Create an instance with the providedWebServiceTemplate
.static SimpleWsInboundGatewaySpec
simpleInboundGateway()
Create an instance.static SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
simpleOutboundGateway()
Create an instance.static SimpleWsOutboundGatewaySpec
simpleOutboundGateway(WebServiceTemplate template)
Create an instance with the providedWebServiceTemplate
.
-
Method Details
-
marshallingInboundGateway
Create an instance.- Returns:
- the spec.
-
marshallingInboundGateway
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(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
Create an instance with the providedWebServiceTemplate
.- Parameters:
template
- the template.- Returns:
- the spec.
-