org.codehaus.activesoap
Class SoapClient

java.lang.Object
  extended byorg.codehaus.activesoap.RestClient
      extended byorg.codehaus.activesoap.SoapClient

public class SoapClient
extends RestClient

Represents a SOAP client for invoking web services operations

Version:
$Revision: 1.9 $

Nested Class Summary
protected  class SoapClient.ResponseHandler
           
 
Constructor Summary
SoapClient(TransportClient transport, SoapService service)
           
 
Method Summary
 void addHeaderHandler(Handler handler)
           
protected  SoapService getSoapService()
           
static SoapClient newLocalClient(SoapService soapService)
          Factory method to create a new client to an in memory SoapService
 Object parseResponse(XMLStreamReader in)
          Internal method used to process a SOAP response
protected  void processBody(MessageExchange exchange, XMLStreamWriter out, Handler generateBodyHandler)
           
protected  void processHeaders(MessageExchange exchange, XMLStreamWriter out)
           
 void removeHeaderHandler(Handler handler)
           
 
Methods inherited from class org.codehaus.activesoap.RestClient
checkClientHandler, close, createMessageExchange, createMessageExchange, createProxy, getClientHandler, getService, invokeOneWay, invokeOneWay, invokeOneWay, invokeRequestReply, invokeRequestReply, invokeRequestReply, invokeRequestReply, invokeRequestReply, newLocalClient, setClientHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapClient

public SoapClient(TransportClient transport,
                  SoapService service)
Method Detail

newLocalClient

public static SoapClient newLocalClient(SoapService soapService)
Factory method to create a new client to an in memory SoapService


addHeaderHandler

public void addHeaderHandler(Handler handler)

removeHeaderHandler

public void removeHeaderHandler(Handler handler)

parseResponse

public Object parseResponse(XMLStreamReader in)
                     throws Exception
Description copied from class: RestClient
Internal method used to process a SOAP response

Overrides:
parseResponse in class RestClient
Throws:
Exception

getSoapService

protected SoapService getSoapService()

processBody

protected void processBody(MessageExchange exchange,
                           XMLStreamWriter out,
                           Handler generateBodyHandler)
                    throws Exception
Overrides:
processBody in class RestClient
Throws:
Exception

processHeaders

protected void processHeaders(MessageExchange exchange,
                              XMLStreamWriter out)
                       throws Exception
Throws:
Exception


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.