org.apache.axis.soap

Class SOAPConnectionImpl

public class SOAPConnectionImpl extends SOAPConnection

SOAP Connection implementation

Author: Davanum Srinivas (dims@yahoo.com)

Method Summary
SOAPMessagecall(SOAPMessage request, Object endpoint)
Sends the given message to the specified endpoint and blocks until it has returned the response.
voidclose()
Closes this SOAPConnection object.
IntegergetTimeout()
get the timeout value
voidsetTimeout(Integer timeout)
set the timeout value

Method Detail

call

public SOAPMessage call(SOAPMessage request, Object endpoint)
Sends the given message to the specified endpoint and blocks until it has returned the response.

Parameters: request the SOAPMessage object to be sent endpoint a URLEndpoint 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

public void close()
Closes this SOAPConnection object.

Throws: SOAPException if there is a SOAP error

getTimeout

public Integer getTimeout()
get the timeout value

Returns:

setTimeout

public void setTimeout(Integer timeout)
set the timeout value

Parameters: timeout

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.