|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.test.server.RequestCreators
public abstract class RequestCreators
Factory methods for RequestCreator classes. Typically used to provide input for MockWebServiceClient.sendRequest(RequestCreator).
| Method Summary | |
|---|---|
static RequestCreator |
withPayload(Resource payload)
Create a request with the given Resource XML as payload. |
static RequestCreator |
withPayload(Source payload)
Create a request with the given Source XML as payload. |
static RequestCreator |
withSoapEnvelope(Resource soapEnvelope)
Create a request with the given Resource XML as SOAP envelope. |
static RequestCreator |
withSoapEnvelope(Source soapEnvelope)
Create a request with the given Source XML as SOAP envelope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RequestCreator withPayload(Source payload)
Source XML as payload.
payload - the request payload
public static RequestCreator withPayload(Resource payload)
throws IOException
Resource XML as payload.
payload - the request payload
IOExceptionpublic static RequestCreator withSoapEnvelope(Source soapEnvelope)
Source XML as SOAP envelope.
soapEnvelope - the request SOAP envelope
public static RequestCreator withSoapEnvelope(Resource soapEnvelope)
throws IOException
Resource XML as SOAP envelope.
soapEnvelope - the request SOAP envelope
IOException
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||