org.jboss.axis.soap
Class SOAPConnectionImpl

java.lang.Object
  extended byjavax.xml.soap.SOAPConnection (src) 
      extended byorg.jboss.axis.soap.SOAPConnectionImpl
Direct Known Subclasses:
SOAPConnectionImpl (src)

public class SOAPConnectionImpl
extends SOAPConnection (src)

SOAP Connection implementation


Constructor Summary
SOAPConnectionImpl()
           
 
Method Summary
 SOAPMessage (src) call(SOAPMessage (src)  request, java.lang.Object endpoint)
          Sends the given message to the specified endpoint and blocks until it has returned the response.
 void close()
          Closes this SOAPConnection object.
protected  Call (src) createCall(java.lang.Object endpoint)
          Stubbed out to allow subclassing
protected  void processAxisFault(AxisFault (src)  fault)
          routine called whenever an axis fault is caught; where they are logged and any other business.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPConnectionImpl

public SOAPConnectionImpl()
Method Detail

call

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

Specified by:
call in class SOAPConnection (src)
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 (src) - if there is a SOAP error

processAxisFault

protected void processAxisFault(AxisFault (src)  fault)
routine called whenever an axis fault is caught; where they are logged and any other business. The method may modify the fault in the process

Parameters:
fault - what went wrong.

createCall

protected Call (src)  createCall(java.lang.Object endpoint)
                   throws java.net.MalformedURLException
Stubbed out to allow subclassing

Throws:
java.net.MalformedURLException

close

public void close()
           throws SOAPException (src) 
Closes this SOAPConnection object.

Specified by:
close in class SOAPConnection (src)
Throws:
SOAPException (src) - if there is a SOAP error