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
SOAPConnection
call
in class SOAPConnection
msgOut
- 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.URLEndpoint
SOAPMessage
object that is the response to the
message that was sentSOAPException
- if there is a SOAP errorpublic SOAPMessage get(Object addressObject) throws SOAPException
SOAPConnection
get
in class SOAPConnection
addressObject
- 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
SOAPConnection
SOAPConnection
object.close
in class SOAPConnection
SOAPException
- if there is a SOAP errorCopyright © 2019 JBoss by Red Hat. All rights reserved.