public class SOAPConnectionImpl extends SOAPConnection
Modifier and Type | Method and Description |
---|---|
SOAPMessage |
call(SOAPMessage request,
Object endpoint)
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 to)
overrided SOAPConnection's get() method
|
public SOAPMessage call(SOAPMessage request, Object endpoint) throws SOAPException
call
in class SOAPConnection
request
- 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 error, or this SOAPConnection is
already closedpublic void close() throws SOAPException
SOAPConnection
object.close
in class SOAPConnection
SOAPException
- if there is a SOAP error, or this SOAPConnection is
already closedpublic SOAPMessage get(Object to) throws SOAPException
get
in class SOAPConnection
SOAPException
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.