org.exist.http
Class SOAPServer

java.lang.Object
  extended by org.exist.http.SOAPServer

public class SOAPServer
extends Object

Author:
Adam Retter , Jose Maria Fernandez

Field Summary
static String WEBSERVICE_MODULE_EXTENSION
           
 
Constructor Summary
SOAPServer(String formEncoding, String containerEncoding)
          Constructor
 
Method Summary
 void doGet(DBBroker broker, HttpServletRequest request, HttpServletResponse response, String path)
          HTTP GET Processes requests for description documents - WSDL, Human Readable and Human Readable for a specific function TODO: I think simple webservices can also be called using GET, so we may need to cater for that as well but first it would be best to write the doPost() method, split the code out into functions and also use it for this.
 void doPost(DBBroker broker, HttpServletRequest request, HttpServletResponse response, String path)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBSERVICE_MODULE_EXTENSION

public static final String WEBSERVICE_MODULE_EXTENSION
See Also:
Constant Field Values
Constructor Detail

SOAPServer

public SOAPServer(String formEncoding,
                  String containerEncoding)
Constructor

Parameters:
formEncoding - The character encoding method to be used for form data
containerEncoding - The character encoding method to be used for the container
Method Detail

doGet

public void doGet(DBBroker broker,
                  HttpServletRequest request,
                  HttpServletResponse response,
                  String path)
           throws BadRequestException,
                  PermissionDeniedException,
                  NotFoundException,
                  IOException
HTTP GET Processes requests for description documents - WSDL, Human Readable and Human Readable for a specific function TODO: I think simple webservices can also be called using GET, so we may need to cater for that as well but first it would be best to write the doPost() method, split the code out into functions and also use it for this.

Throws:
BadRequestException
PermissionDeniedException
NotFoundException
IOException

doPost

public void doPost(DBBroker broker,
                   HttpServletRequest request,
                   HttpServletResponse response,
                   String path)
            throws BadRequestException,
                   PermissionDeniedException,
                   NotFoundException,
                   IOException
Throws:
BadRequestException
PermissionDeniedException
NotFoundException
IOException


Copyright (C) Wolfgang Meier. All rights reserved.