org.infolayer.soap
Class SoapHandler

java.lang.Object
  extended byorg.infolayer.soap.SoapHandler

public class SoapHandler
extends java.lang.Object

Implements the central manager class for SOAP requests. Performs a rough check of SOAP header and authentication stuff, then delegates the request to specific classes.

Author:
pleumann

Field Summary
static java.lang.String SOAP_ENV
          Specifies the SOAP envelope namespace.
static java.lang.String SOAP_INFOLAYER
          Specifies the Infolayer SOAP namespace.
static java.lang.String XML
           
 
Constructor Summary
SoapHandler(IlServlet servlet, HttpServletRequest request, HttpServletResponse response)
          Generates a new SOAP handler for the given servlet and HTTP request/response objects.
 
Method Summary
 UmlModel getModel()
          Returns the UML model this SoapHandler operates on.
 void handle()
          Does the actual handling of the SOAP request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOAP_ENV

public static final java.lang.String SOAP_ENV
Specifies the SOAP envelope namespace.

See Also:
Constant Field Values

SOAP_INFOLAYER

public static final java.lang.String SOAP_INFOLAYER
Specifies the Infolayer SOAP namespace.

See Also:
Constant Field Values

XML

public static final java.lang.String XML
See Also:
Constant Field Values
Constructor Detail

SoapHandler

public SoapHandler(IlServlet servlet,
                   HttpServletRequest request,
                   HttpServletResponse response)
Generates a new SOAP handler for the given servlet and HTTP request/response objects.

Method Detail

handle

public void handle()
            throws java.io.IOException
Does the actual handling of the SOAP request. Decodes the full request, executes it and generates a SOAP response. Produces a proper SOAP error message in case any problems occur.

Throws:
java.io.IOException

getModel

public UmlModel getModel()
Returns the UML model this SoapHandler operates on.