|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOAPProvider
Provider interface for applications that want to process or send SOAP requests.
Method Summary | |
---|---|
javax.xml.soap.MessageFactory |
getMessageFactory()
Provides access to an appropriate SAAJ MessageFactory. |
javax.xml.soap.SOAPFactory |
getSOAPFactory()
Provides access to the appropriate SAAJ SOAPFactory. |
OutgoingSOAPRequestActivity |
sendRequest(java.net.URL requestURL,
javax.xml.soap.SOAPMessage requestMessage)
Asynchronously send a SOAP request. |
OutgoingSOAPRequestActivity |
sendRequest(java.net.URL requestURL,
javax.xml.soap.SOAPMessage requestMessage,
boolean endOnResponse)
Asynchronously send a SOAP request. |
SOAPResponse |
sendSyncRequest(java.net.URL requestURL,
javax.xml.soap.SOAPMessage requestMessage)
Synchronously send a SOAP request, blocking until the response arrives. |
Method Detail |
---|
javax.xml.soap.MessageFactory getMessageFactory()
javax.xml.soap.SOAPFactory getSOAPFactory()
OutgoingSOAPRequestActivity sendRequest(java.net.URL requestURL, javax.xml.soap.SOAPMessage requestMessage) throws java.io.IOException
A new OutgoingSOAPRequestActivity
will be created
for this activity. When a response is received (or a timeout
or error occurs) a SOAPResponse
event is fired
on the new activity; a SBB should be attached to the activity
to handle this response.
The new activity ends automatically after. a response is received.
requestURL
- the URL to send torequestMessage
- the message to send
OutgoingSOAPRequestActivity
activity object
java.io.IOException
- if unable to send the requestOutgoingSOAPRequestActivity sendRequest(java.net.URL requestURL, javax.xml.soap.SOAPMessage requestMessage, boolean endOnResponse) throws java.io.IOException
A new OutgoingSOAPRequestActivity
will be created
for this activity. When a response is received (or a timeout
or error occurs) a SOAPResponse
event is fired
on the new activity; a SBB should be attached to the activity
to handle this response.
If endsOnResponse
is true
, the new
activity ends automatically after a response is received.
Otherwise, the activity remains alive until
OutgoingSOAPRequestActivity.endActivity()
is called to
explicitly end the activity.
requestURL
- the URL to send torequestMessage
- the message to sendendOnResponse
- true
if the request activity
should be automatically ended when a response is received
OutgoingSOAPRequestActivity
activity object
java.io.IOException
- if unable to send the requestSOAPResponse sendSyncRequest(java.net.URL requestURL, javax.xml.soap.SOAPMessage requestMessage) throws java.io.IOException
requestURL
- the URL to send to.requestMessage
- the message to send.
java.io.IOException
- if unable to send the request
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |