Package org.apache.axis2.saaj
Class SOAPConnectionImpl
java.lang.Object
javax.xml.soap.SOAPConnection
org.apache.axis2.saaj.SOAPConnectionImpl
-
Method Summary
Modifier and TypeMethodDescriptioncall(SOAPMessage request, Object endpoint) Sends the given message to the specified endpoint and blocks until it has returned the response.voidclose()Closes thisSOAPConnectionobject.overrided SOAPConnection's get() method
-
Method Details
-
call
Sends the given message to the specified endpoint and blocks until it has returned the response.- Specified by:
callin classSOAPConnection- Parameters:
request- theSOAPMessageobject to be sentendpoint- anObjectthat 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
SOAPMessageobject 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
Closes thisSOAPConnectionobject.- Specified by:
closein classSOAPConnection- Throws:
SOAPException- if there is a SOAP error, or this SOAPConnection is already closed
-
get
overrided SOAPConnection's get() method- Overrides:
getin classSOAPConnection- Throws:
SOAPException
-