Interface WebServiceMessageMatcher

All Known Implementing Classes:
AbstractSoapMessageMatcher, DiffMatcher, DiffMatcher, PayloadDiffMatcher, PayloadDiffMatcher, SchemaValidatingMatcher, SoapEnvelopeDiffMatcher, SoapEnvelopeDiffMatcher, SoapHeaderMatcher

public interface WebServiceMessageMatcher
Defines the general contract for matching messages to expectations.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    match(org.springframework.ws.WebServiceMessage message)
    Matches the given message against the expectations.
  • Method Details

    • match

      void match(org.springframework.ws.WebServiceMessage message) throws IOException, AssertionError
      Matches the given message against the expectations. Implementations typically make use of JUnit-based assertions.
      Parameters:
      message - the message
      Throws:
      IOException - in case of I/O errors
      AssertionError - if expectations are not met