Package org.apache.axis2.saaj
Class SOAPConnectionImpl
- java.lang.Object
-
- javax.xml.soap.SOAPConnection
-
- org.apache.axis2.saaj.SOAPConnectionImpl
-
public class SOAPConnectionImpl extends SOAPConnection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 thisSOAPConnection
object.SOAPMessage
get(Object to)
overrided SOAPConnection's get() method
-
-
-
Method Detail
-
call
public SOAPMessage call(SOAPMessage request, Object endpoint) throws SOAPException
Sends the given message to the specified endpoint and blocks until it has returned the response.- Specified by:
call
in classSOAPConnection
- Parameters:
request
- theSOAPMessage
object to be sentendpoint
- anObject
that identifies where the message should be sent. It is required to support Objects of typejava.lang.String
,java.net.URL
, and when JAXM is presentjavax.xml.messaging.URLEndpoint
- Returns:
- the
SOAPMessage
object that is the response to the message that was sent - Throws:
SOAPException
- if there is a SOAP error, or this SOAPConnection is already closed
-
close
public void close() throws SOAPException
Closes thisSOAPConnection
object.- Specified by:
close
in classSOAPConnection
- Throws:
SOAPException
- if there is a SOAP error, or this SOAPConnection is already closed
-
get
public SOAPMessage get(Object to) throws SOAPException
overrided SOAPConnection's get() method- Overrides:
get
in classSOAPConnection
- Throws:
SOAPException
-
-