Package org.apache.axis.soap
Class SOAPConnectionImpl
java.lang.Object
javax.xml.soap.SOAPConnection
org.apache.axis.soap.SOAPConnectionImpl
SOAP Connection implementation
- Author:
- Davanum Srinivas (dims@yahoo.com)
-
Constructor Summary
Constructors -
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.void
close()
Closes thisSOAPConnection
object.get the timeout valuevoid
setTimeout
(Integer timeout) set the timeout value
-
Constructor Details
-
SOAPConnectionImpl
public SOAPConnectionImpl()
-
-
Method Details
-
getTimeout
get the timeout value- Returns:
-
setTimeout
set the timeout value- Parameters:
timeout
-
-
call
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
- aURLEndpoint
object giving the URL to which the message should be sent- Returns:
- the
SOAPMessage
object that is the response to the message that was sent - Throws:
SOAPException
- if there is a SOAP error
-
close
Closes thisSOAPConnection
object.- Specified by:
close
in classSOAPConnection
- Throws:
SOAPException
- if there is a SOAP error
-