Package | Description |
---|---|
org.springframework.ws.test.server |
Provides a testing framework for server-side Web service testing.
|
Modifier and Type | Method and Description |
---|---|
static ResponseMatcher |
ResponseMatchers.clientOrSenderFault()
Expects a
Client (SOAP 1.1) or Sender (SOAP 1.2) fault. |
static ResponseMatcher |
ResponseMatchers.clientOrSenderFault(String faultStringOrReason)
Expects a
Client (SOAP 1.1) or Sender (SOAP 1.2) fault with a particular fault string or reason. |
ResponseMatcher |
ResponseXPathExpectations.doesNotExist()
Expects the XPath expression to not exist.
|
ResponseMatcher |
ResponseXPathExpectations.evaluatesTo(boolean expectedValue)
Expects the XPath expression to evaluate to the given boolean.
|
ResponseMatcher |
ResponseXPathExpectations.evaluatesTo(double expectedValue)
Expects the XPath expression to evaluate to the given double.
|
ResponseMatcher |
ResponseXPathExpectations.evaluatesTo(int expectedValue)
Expects the XPath expression to evaluate to the given integer.
|
ResponseMatcher |
ResponseXPathExpectations.evaluatesTo(String expectedValue)
Expects the XPath expression to evaluate to the given string.
|
ResponseMatcher |
ResponseXPathExpectations.exists()
Expects the XPath expression to exist.
|
static ResponseMatcher |
ResponseMatchers.mustUnderstandFault()
Expects a
MustUnderstand fault. |
static ResponseMatcher |
ResponseMatchers.mustUnderstandFault(String faultStringOrReason)
Expects a
MustUnderstand fault with a particular fault string or reason. |
static ResponseMatcher |
ResponseMatchers.noFault()
Expects the response not to contain a SOAP fault.
|
static ResponseMatcher |
ResponseMatchers.payload(org.springframework.core.io.Resource payload)
Expects the given
Resource XML payload. |
static ResponseMatcher |
ResponseMatchers.payload(Source payload)
Expects the given
Source XML payload. |
static ResponseMatcher |
ResponseMatchers.serverOrReceiverFault()
Expects a
Server (SOAP 1.1) or Receiver (SOAP 1.2) fault. |
static ResponseMatcher |
ResponseMatchers.serverOrReceiverFault(String faultStringOrReason)
Expects a
Server (SOAP 1.1) or Receiver (SOAP 1.2) fault with a particular fault string or reason. |
static ResponseMatcher |
ResponseMatchers.soapEnvelope(org.springframework.core.io.Resource soapEnvelope)
Expects the given
Resource XML SOAP envelope. |
static ResponseMatcher |
ResponseMatchers.soapEnvelope(Source soapEnvelope)
Expects the given
Source XML SOAP envelope. |
static ResponseMatcher |
ResponseMatchers.soapHeader(QName soapHeaderName)
Expects the given SOAP header in the outgoing message.
|
static ResponseMatcher |
ResponseMatchers.validPayload(org.springframework.core.io.Resource schema,
org.springframework.core.io.Resource... furtherSchemas)
Expects the payload to validate against the given XSD schema(s).
|
static ResponseMatcher |
ResponseMatchers.versionMismatchFault()
Expects a
VersionMismatch fault. |
static ResponseMatcher |
ResponseMatchers.versionMismatchFault(String faultStringOrReason)
Expects a
VersionMismatch fault with a particular fault string or reason. |
Modifier and Type | Method and Description |
---|---|
ResponseActions |
ResponseActions.andExpect(ResponseMatcher responseMatcher)
Sets up an expectation about the response message.
|
Copyright © 2020 Pivotal Software. All rights reserved.