com.esri.arcgis.server
Class SOAPRequestHandler

java.lang.Object
  extended by com.esri.arcgis.server.SOAPRequestHandler
All Implemented Interfaces:
IRequestHandler, Serializable

public class SOAPRequestHandler
extends Object
implements IRequestHandler

See Also:
Serialized Form

Field Summary
protected  List authorizedCapabilities
           
protected static DOMImplementationLS domLS
           
protected static javax.xml.soap.MessageFactory msgFactory
           
protected static String soapEpilog
           
protected static String soapProlog
           
 
Fields inherited from interface com.esri.arcgis.system.IRequestHandler
IID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummy
 
Constructor Summary
SOAPRequestHandler()
           
 
Method Summary
 List getAuthorizedCapabilities()
           
 byte[] handleBinaryRequest(byte[] arg0)
          Handles a binary request.
 String handleStringRequest(String capabilities, String request)
          Handles a SOAP string request.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msgFactory

protected static javax.xml.soap.MessageFactory msgFactory

soapProlog

protected static String soapProlog

soapEpilog

protected static String soapEpilog

domLS

protected static DOMImplementationLS domLS

authorizedCapabilities

protected List authorizedCapabilities
Constructor Detail

SOAPRequestHandler

public SOAPRequestHandler()
                   throws Exception
Throws:
Exception
Method Detail

getAuthorizedCapabilities

public List getAuthorizedCapabilities()

handleBinaryRequest

public byte[] handleBinaryRequest(byte[] arg0)
                           throws IOException,
                                  AutomationException
Handles a binary request.

Specified by:
handleBinaryRequest in interface IRequestHandler
Parameters:
request - An unsigned byte (in)
Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

handleStringRequest

public String handleStringRequest(String capabilities,
                                  String request)
                           throws AutomationException,
                                  IOException
Handles a SOAP string request.

Specified by:
handleStringRequest in interface IRequestHandler
Parameters:
capabilities - The capabilities (in)
request - The request (in)
Returns:
The response
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception