Spring Web Services Framework

org.springframework.ws.test.server
Interface ResponseMatcher


public interface ResponseMatcher

Defines the contract for matching response messages to expectations. Implementations of this interface are returned by ResponseMatchers.

Since:
2.0
Author:
Arjen Poutsma

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

Method Detail

match

void match(WebServiceMessage request,
           WebServiceMessage response)
           throws IOException,
                  AssertionError
Matches the given response message against the expectations. Implementations typically make use of JUnit-based assertions.

Parameters:
request - the request message
response - the response message to make assertions on
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.