Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractMessageCreator - Class in org.springframework.ws.test.support.creator
-
Abstract base class for the
WebServiceMessageCreator
interface. - AbstractMessageCreator() - Constructor for class org.springframework.ws.test.support.creator.AbstractMessageCreator
- AbstractSoapMessageMatcher - Class in org.springframework.ws.test.support.matcher
-
Abstract base class for SOAP-specific
WebServiceMessageMatcher
implementations. - AbstractSoapMessageMatcher() - Constructor for class org.springframework.ws.test.support.matcher.AbstractSoapMessageMatcher
- andExpect(RequestMatcher) - Method in interface org.springframework.ws.test.client.ResponseActions
-
Allows for further expectations to be set on the request.
- andExpect(ResponseMatcher) - Method in interface org.springframework.ws.test.server.ResponseActions
-
Sets up an expectation about the response message.
- andRespond(ResponseCreator) - Method in interface org.springframework.ws.test.client.ResponseActions
-
Sets the
ResponseCreator
for this mock. - anything() - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects any request.
- assertEquals(String, Object, Object) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Asserts that two objects are equal.
- assertEquals(String, Object, Object, String, Source) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Asserts that two objects are equal.
- AssertionErrors - Class in org.springframework.ws.test.support
-
JUnit independent assertion class.
- assertTrue(String, boolean) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Asserts that a condition is
true
. - assertTrue(String, boolean, String, Source) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Asserts that a condition is
true
.
C
- clientOrSenderFault() - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
Client
(SOAP 1.1) orSender
(SOAP 1.2) fault. - clientOrSenderFault(String) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
Client
(SOAP 1.1) orSender
(SOAP 1.2) fault with a particular fault string or reason. - connectionTo(String) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects a connection to the given URI.
- connectionTo(URI) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects a connection to the given URI.
- createClient(ApplicationContext) - Static method in class org.springframework.ws.test.server.MockWebServiceClient
-
Creates a
MockWebServiceClient
instance based on the givenApplicationContext
. - createClient(WebServiceMessageReceiver, WebServiceMessageFactory) - Static method in class org.springframework.ws.test.server.MockWebServiceClient
-
Creates a
MockWebServiceClient
instance based on the givenWebServiceMessageReceiver
andWebServiceMessageFactory
. - createConnection(URI) - Method in class org.springframework.ws.test.client.MockWebServiceMessageSender
- createDiff(Source) - Method in class org.springframework.ws.test.support.matcher.PayloadDiffMatcher
-
Deprecated.
- createDiff(Source) - Method in class org.springframework.ws.test.support.matcher.xmlunit2.PayloadDiffMatcher
- createDiff(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.DiffMatcher
-
Deprecated.Creates a
Diff
for the given message. - createDiff(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.PayloadDiffMatcher
-
Deprecated.
- createDiff(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.xmlunit2.DiffMatcher
-
Creates a
Diff
for the given message. - createDiff(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.xmlunit2.PayloadDiffMatcher
- createMessage(WebServiceMessageFactory) - Method in class org.springframework.ws.test.support.creator.AbstractMessageCreator
- createMessage(WebServiceMessageFactory) - Method in interface org.springframework.ws.test.support.creator.WebServiceMessageCreator
-
Create a message.
- createRequest(WebServiceMessageFactory) - Method in interface org.springframework.ws.test.server.RequestCreator
-
Create a request.
- createResponse(URI, WebServiceMessage, WebServiceMessageFactory) - Method in interface org.springframework.ws.test.client.ResponseCreator
-
Create a response for the given the request and URI.
- createServer(ApplicationContext) - Static method in class org.springframework.ws.test.client.MockWebServiceServer
-
Creates a
MockWebServiceServer
instance based on the givenApplicationContext
. - createServer(WebServiceGatewaySupport) - Static method in class org.springframework.ws.test.client.MockWebServiceServer
-
Creates a
MockWebServiceServer
instance based on the givenWebServiceGatewaySupport
. - createServer(WebServiceTemplate) - Static method in class org.springframework.ws.test.client.MockWebServiceServer
-
Creates a
MockWebServiceServer
instance based on the givenWebServiceTemplate
.
D
- DiffMatcher - Class in org.springframework.ws.test.support.matcher
-
Deprecated.
- DiffMatcher - Class in org.springframework.ws.test.support.matcher.xmlunit2
-
Implementation of
WebServiceMessageMatcher
based on XMLUnit'sDiff
. - DiffMatcher() - Constructor for class org.springframework.ws.test.support.matcher.DiffMatcher
-
Deprecated.
- DiffMatcher() - Constructor for class org.springframework.ws.test.support.matcher.xmlunit2.DiffMatcher
- doesNotExist() - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to not exist.
- doesNotExist() - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to not exist.
- doesNotExist() - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- doWithMessage(WebServiceMessage) - Method in class org.springframework.ws.test.support.creator.AbstractMessageCreator
-
Abstract template method, invoked by
AbstractMessageCreator.createMessage(WebServiceMessageFactory)
after a message has been created. - doWithMessage(WebServiceMessage) - Method in class org.springframework.ws.test.support.creator.PayloadMessageCreator
- doWithMessage(WebServiceMessage) - Method in class org.springframework.ws.test.support.creator.SoapEnvelopeMessageCreator
E
- evaluatesTo(boolean) - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to evaluate to the given boolean.
- evaluatesTo(boolean) - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to evaluate to the given boolean.
- evaluatesTo(boolean) - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- evaluatesTo(double) - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to evaluate to the given double.
- evaluatesTo(double) - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to evaluate to the given double.
- evaluatesTo(double) - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- evaluatesTo(int) - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to evaluate to the given integer.
- evaluatesTo(int) - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to evaluate to the given integer.
- evaluatesTo(int) - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- evaluatesTo(String) - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to evaluate to the given string.
- evaluatesTo(String) - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to evaluate to the given string.
- evaluatesTo(String) - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- exists() - Method in interface org.springframework.ws.test.client.RequestXPathExpectations
-
Expects the XPath expression to exist.
- exists() - Method in interface org.springframework.ws.test.server.ResponseXPathExpectations
-
Expects the XPath expression to exist.
- exists() - Method in class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
- expect(RequestMatcher) - Method in class org.springframework.ws.test.client.MockWebServiceServer
-
Records an expectation specified by the given
RequestMatcher
.
F
- fail(String) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Fails a test with the given message.
- fail(String, String, Source) - Static method in class org.springframework.ws.test.support.AssertionErrors
-
Fails a test with the given message and source.
G
- getApplicationContext() - Method in class org.springframework.ws.test.support.MockStrategiesHelper
-
Returns the application context.
- getMessage() - Method in error org.springframework.ws.test.support.SourceAssertionError
- getSource() - Method in error org.springframework.ws.test.support.SourceAssertionError
-
Returns the source context of this error.
- getStrategy(Class<T>) - Method in class org.springframework.ws.test.support.MockStrategiesHelper
-
Returns a single strategy found in the given application context.
- getStrategy(Class<T>, Class<D>) - Method in class org.springframework.ws.test.support.MockStrategiesHelper
-
Returns a single strategy found in the given application context, or instantiates a default strategy if no applicable strategy was found.
M
- match(URI, WebServiceMessage) - Method in interface org.springframework.ws.test.client.RequestMatcher
-
Matches the given request message against the expectations.
- match(SoapMessage) - Method in class org.springframework.ws.test.support.matcher.AbstractSoapMessageMatcher
-
Abstract template method that gets invoked from
AbstractSoapMessageMatcher.match(WebServiceMessage)
if the given message is aSoapMessage
. - match(SoapMessage) - Method in class org.springframework.ws.test.support.matcher.SoapEnvelopeDiffMatcher
-
Deprecated.
- match(SoapMessage) - Method in class org.springframework.ws.test.support.matcher.SoapHeaderMatcher
- match(SoapMessage) - Method in class org.springframework.ws.test.support.matcher.xmlunit2.SoapEnvelopeDiffMatcher
- match(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.AbstractSoapMessageMatcher
- match(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.DiffMatcher
-
Deprecated.
- match(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.SchemaValidatingMatcher
- match(WebServiceMessage) - Method in interface org.springframework.ws.test.support.matcher.WebServiceMessageMatcher
-
Matches the given message against the expectations.
- match(WebServiceMessage) - Method in class org.springframework.ws.test.support.matcher.xmlunit2.DiffMatcher
- match(WebServiceMessage, WebServiceMessage) - Method in interface org.springframework.ws.test.server.ResponseMatcher
-
Matches the given response message against the expectations.
- MockStrategiesHelper - Class in org.springframework.ws.test.support
-
Helper class for for loading default implementations of an interface.
- MockStrategiesHelper(ApplicationContext) - Constructor for class org.springframework.ws.test.support.MockStrategiesHelper
-
Creates a new instance of the
MockStrategiesHelper
with the given application context. - MockWebServiceClient - Class in org.springframework.ws.test.server
-
Main entry point for server-side Web service testing.
- MockWebServiceMessageSender - Class in org.springframework.ws.test.client
-
Mock implementation of
WebServiceMessageSender
. - MockWebServiceMessageSender() - Constructor for class org.springframework.ws.test.client.MockWebServiceMessageSender
- MockWebServiceServer - Class in org.springframework.ws.test.client
-
Main entry point for client-side Web service testing.
- MockWebServiceServer(MockWebServiceMessageSender) - Constructor for class org.springframework.ws.test.client.MockWebServiceServer
- mustUnderstandFault() - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
MustUnderstand
fault. - mustUnderstandFault(String) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
MustUnderstand
fault with a particular fault string or reason.
N
- noFault() - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the response not to contain a SOAP fault.
O
- org.springframework.ws.test.client - package org.springframework.ws.test.client
-
Provides a testing framework for client-side Web service testing.
- org.springframework.ws.test.server - package org.springframework.ws.test.server
-
Provides a testing framework for server-side Web service testing.
- org.springframework.ws.test.support - package org.springframework.ws.test.support
-
Support classes for the testing framework, used by the classes in the
org.springframework.ws.test.client
andorg.springframework.ws.test.server
packages. - org.springframework.ws.test.support.creator - package org.springframework.ws.test.support.creator
-
Provides the generic
WebServiceMessageCreator
interface, and implementations. - org.springframework.ws.test.support.matcher - package org.springframework.ws.test.support.matcher
-
Provides the generic
WebServiceMessageMatcher
interface, and implementations. - org.springframework.ws.test.support.matcher.xmlunit2 - package org.springframework.ws.test.support.matcher.xmlunit2
P
- payload(Source) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given
Source
XML payload. - payload(Source) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given
Source
XML payload. - payload(Resource) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given
Resource
XML payload. - payload(Resource) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given
Resource
XML payload. - PayloadDiffMatcher - Class in org.springframework.ws.test.support.matcher
-
Deprecated.Migrate to
PayloadDiffMatcher
.s - PayloadDiffMatcher - Class in org.springframework.ws.test.support.matcher.xmlunit2
-
Matches
Source
payloads. - PayloadDiffMatcher(Source) - Constructor for class org.springframework.ws.test.support.matcher.PayloadDiffMatcher
-
Deprecated.
- PayloadDiffMatcher(Source) - Constructor for class org.springframework.ws.test.support.matcher.xmlunit2.PayloadDiffMatcher
- PayloadMessageCreator - Class in org.springframework.ws.test.support.creator
-
Implementation of
WebServiceMessageCreator
that creates a request based on aSource
. - PayloadMessageCreator(Source) - Constructor for class org.springframework.ws.test.support.creator.PayloadMessageCreator
-
Creates a new instance of the
PayloadMessageCreator
with the given payload source.
R
- RequestCreator - Interface in org.springframework.ws.test.server
-
Creates request messages.
- RequestCreators - Class in org.springframework.ws.test.server
-
Factory methods for
RequestCreator
classes. - RequestMatcher - Interface in org.springframework.ws.test.client
-
Defines the contract for matching requests to expectations.
- RequestMatchers - Class in org.springframework.ws.test.client
-
Factory methods for
RequestMatcher
classes. - RequestXPathExpectations - Interface in org.springframework.ws.test.client
-
Allows for setting up expectations on XPath expressions.
- reset() - Method in class org.springframework.ws.test.client.MockWebServiceServer
-
Reset the
MockWebServiceMessageSender
's expectations. - ResponseActions - Interface in org.springframework.ws.test.client
-
Allows for setting up responses and additional expectations.
- ResponseActions - Interface in org.springframework.ws.test.server
-
Allows for setting up expectation about response messages.
- ResponseCreator - Interface in org.springframework.ws.test.client
-
Allows for creating up responses.
- ResponseCreators - Class in org.springframework.ws.test.client
-
Factory methods for
ResponseCreator
classes. - ResponseMatcher - Interface in org.springframework.ws.test.server
-
Defines the contract for matching response messages to expectations.
- ResponseMatchers - Class in org.springframework.ws.test.server
-
Factory methods for
ResponseMatcher
classes. - ResponseXPathExpectations - Interface in org.springframework.ws.test.server
-
Allows for setting up expectations on XPath expressions.
S
- SchemaValidatingMatcher - Class in org.springframework.ws.test.support.matcher
-
Uses the
XmlValidator
to validate request payload. - SchemaValidatingMatcher(Resource, Resource...) - Constructor for class org.springframework.ws.test.support.matcher.SchemaValidatingMatcher
-
Creates a
SchemaValidatingMatcher
based on the given schema resource(s). - sendRequest(RequestCreator) - Method in class org.springframework.ws.test.server.MockWebServiceClient
-
Sends a request message by using the given
RequestCreator
. - serverOrReceiverFault() - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
Server
(SOAP 1.1) orReceiver
(SOAP 1.2) fault. - serverOrReceiverFault(String) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
Server
(SOAP 1.1) orReceiver
(SOAP 1.2) fault with a particular fault string or reason. - soapEnvelope(Source) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given
Source
XML SOAP envelope. - soapEnvelope(Source) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given
Source
XML SOAP envelope. - soapEnvelope(Resource) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given
Resource
XML SOAP envelope. - soapEnvelope(Resource) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given
Resource
XML SOAP envelope. - SoapEnvelopeDiffMatcher - Class in org.springframework.ws.test.support.matcher
-
Deprecated.Migrate to
SoapEnvelopeDiffMatcher
. - SoapEnvelopeDiffMatcher - Class in org.springframework.ws.test.support.matcher.xmlunit2
-
Matches
Source
SOAP envelopes. - SoapEnvelopeDiffMatcher(Source) - Constructor for class org.springframework.ws.test.support.matcher.SoapEnvelopeDiffMatcher
-
Deprecated.
- SoapEnvelopeDiffMatcher(Source) - Constructor for class org.springframework.ws.test.support.matcher.xmlunit2.SoapEnvelopeDiffMatcher
- SoapEnvelopeMessageCreator - Class in org.springframework.ws.test.support.creator
-
Implementation of
WebServiceMessageCreator
that creates a request based on a SOAP envelopeSource
. - SoapEnvelopeMessageCreator(Source) - Constructor for class org.springframework.ws.test.support.creator.SoapEnvelopeMessageCreator
-
Creates a new instance of the
SoapEnvelopeMessageCreator
with the given SOAP envelope source. - soapHeader(QName) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given SOAP header in the outgoing message.
- soapHeader(QName) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given SOAP header in the outgoing message.
- SoapHeaderMatcher - Class in org.springframework.ws.test.support.matcher
-
Matches SOAP headers.
- SoapHeaderMatcher(QName) - Constructor for class org.springframework.ws.test.support.matcher.SoapHeaderMatcher
-
Creates a new instance of the
SoapHeaderMatcher
that checks for the presence of the given SOAP header name. - SourceAssertionError - Error in org.springframework.ws.test.support
-
Subclass of
AssertionError
that also contains aSource
for more context. - SourceAssertionError(String, String, Source) - Constructor for error org.springframework.ws.test.support.SourceAssertionError
-
Creates a new instance of the
SourceAssertionError
class with the given parameters. - supports(URI) - Method in class org.springframework.ws.test.client.MockWebServiceMessageSender
-
Always returns
true
.
V
- validPayload(Resource, Resource...) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the payload to validate against the given XSD schema(s).
- validPayload(Resource, Resource...) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the payload to validate against the given XSD schema(s).
- verify() - Method in class org.springframework.ws.test.client.MockWebServiceServer
-
Verifies that all of the
MockWebServiceMessageSender
's expectations were met. - versionMismatchFault() - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
VersionMismatch
fault. - versionMismatchFault(String) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects a
VersionMismatch
fault with a particular fault string or reason.
W
- WebServiceMessageCreator - Interface in org.springframework.ws.test.support.creator
-
Defines the general contract for creating messages used in test scenarios.
- WebServiceMessageMatcher - Interface in org.springframework.ws.test.support.matcher
-
Defines the general contract for matching messages to expectations.
- withClientOrSenderFault(String, Locale) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with a
Client
(SOAP 1.1) orSender
(SOAP 1.2) fault. - withError(String) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with an error.
- withException(IOException) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with an
IOException
. - withException(RuntimeException) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with an
RuntimeException
. - withMustUnderstandFault(String, Locale) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with a
MustUnderstand
fault. - withPayload(Source) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with the given
Source
XML as payload response. - withPayload(Source) - Static method in class org.springframework.ws.test.server.RequestCreators
-
Create a request with the given
Source
XML as payload. - withPayload(Resource) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with the given
Resource
XML as payload response. - withPayload(Resource) - Static method in class org.springframework.ws.test.server.RequestCreators
-
Create a request with the given
Resource
XML as payload. - withServerOrReceiverFault(String, Locale) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with a
Server
(SOAP 1.1) orReceiver
(SOAP 1.2) fault. - withSoapEnvelope(Source) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with the given
Source
XML as SOAP envelope response. - withSoapEnvelope(Source) - Static method in class org.springframework.ws.test.server.RequestCreators
-
Create a request with the given
Source
XML as SOAP envelope. - withSoapEnvelope(Resource) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with the given
Resource
XML as SOAP envelope response. - withSoapEnvelope(Resource) - Static method in class org.springframework.ws.test.server.RequestCreators
-
Create a request with the given
Resource
XML as SOAP envelope. - withVersionMismatchFault(String, Locale) - Static method in class org.springframework.ws.test.client.ResponseCreators
-
Respond with a
VersionMismatch
fault.
X
- xpath(String) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given XPath expression to (not) exist or be evaluated to a value.
- xpath(String) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given XPath expression to (not) exist or be evaluated to a value.
- xpath(String, Map<String, String>) - Static method in class org.springframework.ws.test.client.RequestMatchers
-
Expects the given XPath expression to (not) exist or be evaluated to a value.
- xpath(String, Map<String, String>) - Static method in class org.springframework.ws.test.server.ResponseMatchers
-
Expects the given XPath expression to (not) exist or be evaluated to a value.
- XPathExpectationsHelper - Class in org.springframework.ws.test.support.matcher
-
Helper class for dealing with XPath expectations.
- XPathExpectationsHelper(String) - Constructor for class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
-
Creates a new instance of the
XPathExpectationsSupport
with the given XPath expression. - XPathExpectationsHelper(String, Map<String, String>) - Constructor for class org.springframework.ws.test.support.matcher.XPathExpectationsHelper
-
Creates a new instance of the
XPathExpectationsSupport
with the given XPath expression and namespaces.
All Classes and Interfaces|All Packages|Serialized Form
DiffMatcher
.