Uses of Interface
org.springframework.ws.test.client.ResponseCreator
Packages that use ResponseCreator
Package
Description
Provides a testing framework for client-side Web service testing.
-
Uses of ResponseCreator in org.springframework.ws.test.client
Methods in org.springframework.ws.test.client that return ResponseCreatorModifier and TypeMethodDescriptionstatic ResponseCreatorResponseCreators.withClientOrSenderFault(String faultStringOrReason, Locale locale) Respond with aClient(SOAP 1.1) orSender(SOAP 1.2) fault.static ResponseCreatorRespond with an error.static ResponseCreatorResponseCreators.withException(IOException ioException) Respond with anIOException.static ResponseCreatorResponseCreators.withException(RuntimeException ex) Respond with anRuntimeException.static ResponseCreatorResponseCreators.withMustUnderstandFault(String faultStringOrReason, Locale locale) Respond with aMustUnderstandfault.static ResponseCreatorResponseCreators.withPayload(Source payload) Respond with the givenSourceXML as payload response.static ResponseCreatorResponseCreators.withPayload(org.springframework.core.io.Resource payload) Respond with the givenResourceXML as payload response.static ResponseCreatorResponseCreators.withServerOrReceiverFault(String faultStringOrReason, Locale locale) Respond with aServer(SOAP 1.1) orReceiver(SOAP 1.2) fault.static ResponseCreatorResponseCreators.withSoapEnvelope(Source soapEnvelope) Respond with the givenSourceXML as SOAP envelope response.static ResponseCreatorResponseCreators.withSoapEnvelope(org.springframework.core.io.Resource soapEnvelope) Respond with the givenResourceXML as SOAP envelope response.static ResponseCreatorResponseCreators.withVersionMismatchFault(String faultStringOrReason, Locale locale) Respond with aVersionMismatchfault.Methods in org.springframework.ws.test.client with parameters of type ResponseCreatorModifier and TypeMethodDescriptionvoidResponseActions.andRespond(ResponseCreator responseCreator) Sets theResponseCreatorfor this mock.