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 SOAPMessagecall(SOAPMessage request, Object endpoint)Sends the given message to the specified endpoint and blocks until it has returned the response.voidclose()Closes thisSOAPConnectionobject.SOAPMessageget(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:
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
public void close() throws SOAPExceptionCloses thisSOAPConnectionobject.- Specified by:
closein 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:
getin classSOAPConnection- Throws:
SOAPException
-
-