public interface OutgoingSOAPRequestActivity extends SOAPActivity
Modifier and Type | Method and Description |
---|---|
void |
endActivity()
Explicitly end the activity.
|
boolean |
endOnResponse()
Test if the activity is set to end when a response is received.
|
SOAPResponse |
getResponse()
Get the response received on this activity.
|
getRequest
SOAPResponse getResponse()
null
if a response has not
been received yet.boolean endOnResponse()
true
if the activity will automatically end
when a response is received.void endActivity()
endOnResponse()
is false
. The application must call this to end the activity if
it has requested the activity to remain alive after the response is received,
using SOAPProvider.sendRequest(java.net.URL,javax.xml.soap.SOAPMessage,boolean)
.IllegalStateException
- if no response has been received, or if the activity is
set to end automatically anyway.