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

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

public interface WebServiceMessageMatcher

Defines the general contract for matching messages to expectations.

Since:
2.0
Author:
Arjen Poutsma

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

Method Detail

match

void match(org.springframework.ws.WebServiceMessage message)
           throws java.io.IOException,
                  java.lang.AssertionError
Matches the given message against the expectations. Implementations typically make use of JUnit-based assertions.

Parameters:
message - the message
Throws:
java.io.IOException - in case of I/O errors
java.lang.AssertionError - if expectations are not met


Copyright © 2011. All Rights Reserved.