public class SOAPConnectionImpl extends SOAPConnection
Constructor and Description |
---|
SOAPConnectionImpl() |
Modifier and Type | Method and Description |
---|---|
SOAPMessage |
call(SOAPMessage reqMessage,
Object endpoint)
Sends the given message to the specified endpoint and blocks until it has
returned the response.
|
SOAPMessage |
callOneWay(SOAPMessage reqMessage,
Object endpoint)
Sends the given message to the specified endpoint.
|
void |
close()
Closes this SOAPConnection
|
SOAPMessage |
get(Object endpoint)
Sends an HTTP GET request to an endpoint and blocks until a SOAP message is received
|
public SOAPMessage call(SOAPMessage reqMessage, Object endpoint) throws SOAPException
call
in class SOAPConnection
reqMessage
- the SOAPMessage
object to be sentendpoint
- 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 endpoint) throws SOAPException
get
in class SOAPConnection
endpoint
- 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 SOAPMessage callOneWay(SOAPMessage reqMessage, Object endpoint) throws SOAPException
SOAPException
public void close() throws SOAPException
close
in class SOAPConnection
SOAPException
- if there is a SOAP errorCopyright © 2018 JBoss by Red Hat. All rights reserved.