インターフェースの使用
org.springframework.ws.test.client.RequestMatcher
RequestMatcher を使用するパッケージ
org.springframework.ws.test.client 内の RequestMatcher 使用
修飾子と型メソッド説明static RequestMatcherRequestMatchers.anything()リクエストが必要です。static RequestMatcherRequestMatchers.connectionTo(StringSE uri) 指定された URI への接続が必要です。static RequestMatcherRequestMatchers.connectionTo(URISE uri) 指定された URI への接続が必要です。RequestXPathExpectations.doesNotExist()XPath 式が存在しないことを想定しています。RequestXPathExpectations.evaluatesTo(boolean expectedValue) XPath 式が指定されたブール値に評価されることを期待します。RequestXPathExpectations.evaluatesTo(double expectedValue) XPath 式が指定された double に評価されることを期待します。RequestXPathExpectations.evaluatesTo(int expectedValue) XPath 式が指定された整数に評価されることを期待します。RequestXPathExpectations.evaluatesTo(StringSE expectedValue) XPath 式が指定された文字列に評価されることを期待します。RequestXPathExpectations.exists()XPath 式が存在することを期待します。static RequestMatcher指定されたSourceSE XML ペイロードが必要です。static RequestMatcherRequestMatchers.payload(org.springframework.core.io.Resource payload) 指定されたResourceXML ペイロードが必要です。static RequestMatcherRequestMatchers.soapEnvelope(SourceSE soapEnvelope) 指定されたSourceSE XMLSOAP エンベロープが必要です。static RequestMatcherRequestMatchers.soapEnvelope(org.springframework.core.io.Resource soapEnvelope) 指定されたResourceXMLSOAP エンベロープが必要です。static RequestMatcherRequestMatchers.soapHeader(QNameSE soapHeaderName) 送信メッセージに指定された SOAP ヘッダーが必要です。static RequestMatcherRequestMatchers.validPayload(org.springframework.core.io.Resource schema, org.springframework.core.io.Resource... furtherSchemas) ペイロードが指定された XSD スキーマに対して検証されることを期待します。型 RequestMatcher のパラメーターを持つ org.springframework.ws.test.client のメソッド修飾子と型メソッド説明ResponseActions.andExpect(RequestMatcher requestMatcher) リクエストにさらに期待を設定することができます。MockWebServiceServer.expect(RequestMatcher requestMatcher) 指定されたRequestMatcherによって指定された期待値を記録します。