Uses of Interface
org.springframework.ws.test.client.ResponseCreator
Package
Description
Provides a testing framework for client-side Web service testing.
-
Uses of ResponseCreator in org.springframework.ws.test.client
Modifier and TypeMethodDescriptionstatic ResponseCreator
ResponseCreators.withClientOrSenderFault
(String faultStringOrReason, Locale locale) Respond with aClient
(SOAP 1.1) orSender
(SOAP 1.2) fault.static ResponseCreator
Respond with an error.static ResponseCreator
ResponseCreators.withException
(IOException ioException) Respond with anIOException
.static ResponseCreator
ResponseCreators.withException
(RuntimeException ex) Respond with anRuntimeException
.static ResponseCreator
ResponseCreators.withMustUnderstandFault
(String faultStringOrReason, Locale locale) Respond with aMustUnderstand
fault.static ResponseCreator
ResponseCreators.withPayload
(Source payload) Respond with the givenSource
XML as payload response.static ResponseCreator
ResponseCreators.withPayload
(org.springframework.core.io.Resource payload) Respond with the givenResource
XML as payload response.static ResponseCreator
ResponseCreators.withServerOrReceiverFault
(String faultStringOrReason, Locale locale) Respond with aServer
(SOAP 1.1) orReceiver
(SOAP 1.2) fault.static ResponseCreator
ResponseCreators.withSoapEnvelope
(Source soapEnvelope) Respond with the givenSource
XML as SOAP envelope response.static ResponseCreator
ResponseCreators.withSoapEnvelope
(org.springframework.core.io.Resource soapEnvelope) Respond with the givenResource
XML as SOAP envelope response.static ResponseCreator
ResponseCreators.withVersionMismatchFault
(String faultStringOrReason, Locale locale) Respond with aVersionMismatch
fault.Modifier and TypeMethodDescriptionvoid
ResponseActions.andRespond
(ResponseCreator responseCreator) Sets theResponseCreator
for this mock.