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