Package org.apache.axis.soap
Class SOAPConnectionImpl
- java.lang.Object
-
- javax.xml.soap.SOAPConnection
-
- org.apache.axis.soap.SOAPConnectionImpl
-
public class SOAPConnectionImpl extends SOAPConnection
SOAP Connection implementation- Author:
- Davanum Srinivas (dims@yahoo.com)
-
-
Constructor Summary
Constructors Constructor Description SOAPConnectionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPMessagecall(SOAPMessage request, java.lang.Object endpoint)Sends the given message to the specified endpoint and blocks until it has returned the response.voidclose()Closes thisSOAPConnectionobject.java.lang.IntegergetTimeout()get the timeout valuevoidsetTimeout(java.lang.Integer timeout)set the timeout value
-
-
-
Method Detail
-
getTimeout
public java.lang.Integer getTimeout()
get the timeout value- Returns:
-
setTimeout
public void setTimeout(java.lang.Integer timeout)
set the timeout value- Parameters:
timeout-
-
call
public SOAPMessage call(SOAPMessage request, java.lang.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- aURLEndpointobject giving the URL to which the message should be sent- Returns:
- the
SOAPMessageobject that is the response to the message that was sent - Throws:
SOAPException- if there is a SOAP error
-
close
public void close() throws SOAPExceptionCloses thisSOAPConnectionobject.- Specified by:
closein classSOAPConnection- Throws:
SOAPException- if there is a SOAP error
-
-