com.esri.arcgis.server
Class SOAPRequestHandler

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

public class SOAPRequestHandler
extends java.lang.Object
implements IRequestHandler

See Also:
Serialized Form

Field Summary
protected  java.util.List authorizedCapabilities
           
protected static org.w3c.dom.ls.DOMImplementationLS domLS
           
protected static javax.xml.soap.MessageFactory msgFactory
           
protected static java.lang.String soapEpilog
           
protected static java.lang.String soapProlog
           
 
Fields inherited from interface com.esri.arcgis.system.IRequestHandler
IID, IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb, xxDummy
 
Constructor Summary
SOAPRequestHandler()
           
 
Method Summary
 java.util.List getAuthorizedCapabilities()
           
 byte[] handleBinaryRequest(byte[] arg0)
          Handles a binary request.
 java.lang.String handleStringRequest(java.lang.String capabilities, java.lang.String request)
          Handles a SOAP string request.
static void main(java.lang.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 java.lang.String soapProlog

soapEpilog

protected static java.lang.String soapEpilog

domLS

protected static org.w3c.dom.ls.DOMImplementationLS domLS

authorizedCapabilities

protected java.util.List authorizedCapabilities
Constructor Detail

SOAPRequestHandler

public SOAPRequestHandler()
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getAuthorizedCapabilities

public java.util.List getAuthorizedCapabilities()

handleBinaryRequest

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

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

handleStringRequest

public java.lang.String handleStringRequest(java.lang.String capabilities,
                                            java.lang.String request)
                                     throws AutomationException,
                                            java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

main

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