Spring Web Services Framework

org.springframework.ws.test.support.matcher
Interface WebServiceMessageMatcher

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

public interface WebServiceMessageMatcher

Defines the general contract for matching messages to expectations.

Since:
2.0
Author:
Arjen Poutsma

Method Summary
 void match(WebServiceMessage message)
          Matches the given message against the expectations.
 

Method Detail

match

void match(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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.