org.codehaus.activesoap.handler
Class SoapHandler

java.lang.Object
  extended byorg.codehaus.activesoap.handler.SoapHandler
All Implemented Interfaces:
Handler

public class SoapHandler
extends Object
implements Handler

A handler which processes a SOAP envelope using a specific SOAP protocol.

Version:
$Revision: 1.7 $

Constructor Summary
SoapHandler(SoapVersion soap)
           
 
Method Summary
 void invoke(MessageExchange exchange)
          Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.
 void register(HandlerRegistry registry)
          Helper method to register this handler with the registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapHandler

public SoapHandler(SoapVersion soap)
Method Detail

register

public void register(HandlerRegistry registry)
Helper method to register this handler with the registry

Parameters:
registry -

invoke

public void invoke(MessageExchange exchange)
            throws Exception
Description copied from interface: Handler
Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.

Specified by:
invoke in interface Handler
Parameters:
exchange - is the message exchange which can be used to accesss message-specific attributes to communicate between different handlers in a loose coupled way or to access service specific details such as the SOAP roles and encodings etc.
Throws:
Exception


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