Uses of Interface
org.springframework.ws.test.server.ResponseMatcher
Package
Description
Provides a testing framework for server-side Web service testing.
-
Uses of ResponseMatcher in org.springframework.ws.test.server
Modifier and TypeMethodDescriptionstatic ResponseMatcher
ResponseMatchers.clientOrSenderFault()
Expects aClient
(SOAP 1.1) orSender
(SOAP 1.2) fault.static ResponseMatcher
ResponseMatchers.clientOrSenderFault
(String faultStringOrReason) Expects aClient
(SOAP 1.1) orSender
(SOAP 1.2) fault with a particular fault string or reason.ResponseXPathExpectations.doesNotExist()
Expects the XPath expression to not exist.ResponseXPathExpectations.evaluatesTo
(boolean expectedValue) Expects the XPath expression to evaluate to the given boolean.ResponseXPathExpectations.evaluatesTo
(double expectedValue) Expects the XPath expression to evaluate to the given double.ResponseXPathExpectations.evaluatesTo
(int expectedValue) Expects the XPath expression to evaluate to the given integer.ResponseXPathExpectations.evaluatesTo
(String expectedValue) Expects the XPath expression to evaluate to the given string.ResponseXPathExpectations.exists()
Expects the XPath expression to exist.static ResponseMatcher
ResponseMatchers.mustUnderstandFault()
Expects aMustUnderstand
fault.static ResponseMatcher
ResponseMatchers.mustUnderstandFault
(String faultStringOrReason) Expects aMustUnderstand
fault with a particular fault string or reason.static ResponseMatcher
ResponseMatchers.noFault()
Expects the response not to contain a SOAP fault.static ResponseMatcher
Expects the givenSource
XML payload.static ResponseMatcher
ResponseMatchers.payload
(org.springframework.core.io.Resource payload) Expects the givenResource
XML payload.static ResponseMatcher
ResponseMatchers.serverOrReceiverFault()
Expects aServer
(SOAP 1.1) orReceiver
(SOAP 1.2) fault.static ResponseMatcher
ResponseMatchers.serverOrReceiverFault
(String faultStringOrReason) Expects aServer
(SOAP 1.1) orReceiver
(SOAP 1.2) fault with a particular fault string or reason.static ResponseMatcher
ResponseMatchers.soapEnvelope
(Source soapEnvelope) Expects the givenSource
XML SOAP envelope.static ResponseMatcher
ResponseMatchers.soapEnvelope
(org.springframework.core.io.Resource soapEnvelope) Expects the givenResource
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 aVersionMismatch
fault.static ResponseMatcher
ResponseMatchers.versionMismatchFault
(String faultStringOrReason) Expects aVersionMismatch
fault with a particular fault string or reason.Modifier and TypeMethodDescriptionResponseActions.andExpect
(ResponseMatcher responseMatcher) Sets up an expectation about the response message.