Package | Description |
---|---|
org.springframework.ws.test.client |
Provides a testing framework for client-side Web service testing.
|
Modifier and Type | Method and Description |
---|---|
static ResponseCreator |
ResponseCreators.withClientOrSenderFault(String faultStringOrReason,
Locale locale)
Respond with a
Client (SOAP 1.1) or Sender (SOAP 1.2) fault. |
static ResponseCreator |
ResponseCreators.withError(String errorMessage)
Respond with an error.
|
static ResponseCreator |
ResponseCreators.withException(IOException ioException)
Respond with an
IOException . |
static ResponseCreator |
ResponseCreators.withException(RuntimeException ex)
Respond with an
RuntimeException . |
static ResponseCreator |
ResponseCreators.withMustUnderstandFault(String faultStringOrReason,
Locale locale)
Respond with a
MustUnderstand fault. |
static ResponseCreator |
ResponseCreators.withPayload(org.springframework.core.io.Resource payload)
Respond with the given
Resource XML as payload response. |
static ResponseCreator |
ResponseCreators.withPayload(Source payload)
Respond with the given
Source XML as payload response. |
static ResponseCreator |
ResponseCreators.withServerOrReceiverFault(String faultStringOrReason,
Locale locale)
Respond with a
Server (SOAP 1.1) or Receiver (SOAP 1.2) fault. |
static ResponseCreator |
ResponseCreators.withSoapEnvelope(org.springframework.core.io.Resource soapEnvelope)
Respond with the given
Resource XML as SOAP envelope response. |
static ResponseCreator |
ResponseCreators.withSoapEnvelope(Source soapEnvelope)
Respond with the given
Source XML as SOAP envelope response. |
static ResponseCreator |
ResponseCreators.withVersionMismatchFault(String faultStringOrReason,
Locale locale)
Respond with a
VersionMismatch fault. |
Modifier and Type | Method and Description |
---|---|
void |
ResponseActions.andRespond(ResponseCreator responseCreator)
Sets the
ResponseCreator for this mock. |
Copyright © 2020 Pivotal Software. All rights reserved.