Uses of Interface
org.springframework.ws.test.server.ResponseMatcher
Packages that use ResponseMatcher
Package
Description
Provides a testing framework for server-side Web service testing.
-
Uses of ResponseMatcher in org.springframework.ws.test.server
Methods in org.springframework.ws.test.server that return ResponseMatcherModifier and TypeMethodDescriptionstatic ResponseMatcherResponseMatchers.clientOrSenderFault()Expects aClient(SOAP 1.1) orSender(SOAP 1.2) fault.static ResponseMatcherResponseMatchers.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 ResponseMatcherResponseMatchers.mustUnderstandFault()Expects aMustUnderstandfault.static ResponseMatcherResponseMatchers.mustUnderstandFault(String faultStringOrReason) Expects aMustUnderstandfault with a particular fault string or reason.static ResponseMatcherResponseMatchers.noFault()Expects the response not to contain a SOAP fault.static ResponseMatcherExpects the givenSourceXML payload.static ResponseMatcherResponseMatchers.payload(org.springframework.core.io.Resource payload) Expects the givenResourceXML payload.static ResponseMatcherResponseMatchers.serverOrReceiverFault()Expects aServer(SOAP 1.1) orReceiver(SOAP 1.2) fault.static ResponseMatcherResponseMatchers.serverOrReceiverFault(String faultStringOrReason) Expects aServer(SOAP 1.1) orReceiver(SOAP 1.2) fault with a particular fault string or reason.static ResponseMatcherResponseMatchers.soapEnvelope(Source soapEnvelope) Expects the givenSourceXML SOAP envelope.static ResponseMatcherResponseMatchers.soapEnvelope(org.springframework.core.io.Resource soapEnvelope) Expects the givenResourceXML SOAP envelope.static ResponseMatcherResponseMatchers.soapHeader(QName soapHeaderName) Expects the given SOAP header in the outgoing message.static ResponseMatcherResponseMatchers.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 ResponseMatcherResponseMatchers.versionMismatchFault()Expects aVersionMismatchfault.static ResponseMatcherResponseMatchers.versionMismatchFault(String faultStringOrReason) Expects aVersionMismatchfault with a particular fault string or reason.Methods in org.springframework.ws.test.server with parameters of type ResponseMatcherModifier and TypeMethodDescriptionResponseActions.andExpect(ResponseMatcher responseMatcher) Sets up an expectation about the response message.