public class SOAPConnectionImpl extends SOAPConnection
| Constructor and Description |
|---|
SOAPConnectionImpl() |
| Modifier and Type | Method and Description |
|---|---|
SOAPMessage |
call(SOAPMessage msgOut,
Object addressObject)
Sends the given message to the specified endpoint and blocks until
it has returned the response.
|
void |
close()
Closes this
SOAPConnection object. |
SOAPMessage |
get(Object addressObject)
Gets a message from a specific endpoint and blocks until it receives,
|
public SOAPMessage call(SOAPMessage msgOut, Object addressObject) throws SOAPException
SOAPConnectioncall in class SOAPConnectionmsgOut - the SOAPMessage object to be sentaddressObject - an Object that identifies
where the message should be sent. It is required to
support Objects of type
java.lang.String,
java.net.URL, and when JAXM is present
javax.xml.messaging.URLEndpointSOAPMessage object that is the response to the
message that was sentSOAPException - if there is a SOAP errorpublic SOAPMessage get(Object addressObject) throws SOAPException
SOAPConnectionget in class SOAPConnectionaddressObject - an Object that identifies where
the request should be sent. Objects of type
java.lang.String and
java.net.URL must be supported.SOAPMessage object that is the response to the
get message requestSOAPException - if there is a SOAP errorpublic void close()
throws SOAPException
SOAPConnectionSOAPConnection object.close in class SOAPConnectionSOAPException - if there is a SOAP errorCopyright © 2018 JBoss by Red Hat. All rights reserved.