インターフェースの使用
org.springframework.ws.test.client.ResponseCreator
ResponseCreator を使用するパッケージ
org.springframework.ws.test.client 内の ResponseCreator 使用
修飾子と型メソッド説明static ResponseCreatorResponseCreators.withClientOrSenderFault(StringSE faultStringOrReason, LocaleSE locale) Client(SOAP 1.1)またはSender(SOAP 1.2)障害で応答します。static ResponseCreatorエラーで応答します。static ResponseCreatorResponseCreators.withException(IOExceptionSE ioException) IOExceptionSE で応答します。static ResponseCreatorResponseCreators.withException(RuntimeExceptionSE ex) RuntimeExceptionSE で応答します。static ResponseCreatorResponseCreators.withMustUnderstandFault(StringSE faultStringOrReason, LocaleSE locale) MustUnderstand障害で応答します。static ResponseCreatorResponseCreators.withPayload(SourceSE payload) ペイロードレスポンスとして、指定されたSourceSE XML でレスポンスします。static ResponseCreatorResponseCreators.withPayload(org.springframework.core.io.Resource payload) ペイロードレスポンスとして、指定されたResourceXML でレスポンスします。static ResponseCreatorResponseCreators.withServerOrReceiverFault(StringSE faultStringOrReason, LocaleSE locale) Server(SOAP 1.1)またはReceiver(SOAP 1.2)障害で応答します。static ResponseCreatorResponseCreators.withSoapEnvelope(SourceSE soapEnvelope) 指定されたSourceSE XML を SOAP エンベロープレスポンスとしてレスポンスします。static ResponseCreatorResponseCreators.withSoapEnvelope(org.springframework.core.io.Resource soapEnvelope) 指定されたResourceXML を SOAP エンベロープレスポンスとしてレスポンスします。static ResponseCreatorResponseCreators.withVersionMismatchFault(StringSE faultStringOrReason, LocaleSE locale) VersionMismatch障害で応答します。型 ResponseCreator のパラメーターを持つ org.springframework.ws.test.client のメソッド修飾子と型メソッド説明voidResponseActions.andRespond(ResponseCreator responseCreator) このモックのResponseCreatorを設定します。