Uses of Interface
org.springframework.ws.test.client.RequestMatcher
Package
Description
Provides a testing framework for client-side Web service testing.
-
Uses of RequestMatcher in org.springframework.ws.test.client
Modifier and TypeMethodDescriptionstatic RequestMatcher
RequestMatchers.anything()
Expects any request.static RequestMatcher
RequestMatchers.connectionTo
(String uri) Expects a connection to the given URI.static RequestMatcher
RequestMatchers.connectionTo
(URI uri) Expects a connection to the given URI.RequestXPathExpectations.doesNotExist()
Expects the XPath expression to not exist.RequestXPathExpectations.evaluatesTo
(boolean expectedValue) Expects the XPath expression to evaluate to the given boolean.RequestXPathExpectations.evaluatesTo
(double expectedValue) Expects the XPath expression to evaluate to the given double.RequestXPathExpectations.evaluatesTo
(int expectedValue) Expects the XPath expression to evaluate to the given integer.RequestXPathExpectations.evaluatesTo
(String expectedValue) Expects the XPath expression to evaluate to the given string.RequestXPathExpectations.exists()
Expects the XPath expression to exist.static RequestMatcher
Expects the givenSource
XML payload.static RequestMatcher
RequestMatchers.payload
(org.springframework.core.io.Resource payload) Expects the givenResource
XML payload.static RequestMatcher
RequestMatchers.soapEnvelope
(Source soapEnvelope) Expects the givenSource
XML SOAP envelope.static RequestMatcher
RequestMatchers.soapEnvelope
(org.springframework.core.io.Resource soapEnvelope) Expects the givenResource
XML SOAP envelope.static RequestMatcher
RequestMatchers.soapHeader
(QName soapHeaderName) Expects the given SOAP header in the outgoing message.static RequestMatcher
RequestMatchers.validPayload
(org.springframework.core.io.Resource schema, org.springframework.core.io.Resource... furtherSchemas) Expects the payload to validate against the given XSD schema(s).Modifier and TypeMethodDescriptionResponseActions.andExpect
(RequestMatcher requestMatcher) Allows for further expectations to be set on the request.MockWebServiceServer.expect
(RequestMatcher requestMatcher) Records an expectation specified by the givenRequestMatcher
.