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