Class SoeSoapImpl
- Namespace
- ESRI.Server.SOESupport
- Assembly
- ESRI.Server.SOESupport.dll
An "implementation" helper class that can be contained by SOAP SOEs.
public sealed class SoeSoapImpl : IRequestHandler2, IRequestHandler
- Inheritance
-
SoeSoapImpl
- Implements
- Inherited Members
Constructors
SoeSoapImpl(string, SoapCapabilities, HandleSoapMessage)
Creates a SoeSoapImpl instance given the SOE name, the capabilities to enforce, and the function that will handle messages.
public SoeSoapImpl(string soeName, SoapCapabilities soapCaps, SoeSoapImpl.HandleSoapMessage HandleSoapMessage)
Parameters
soeNamestringThe name of the SOE
soapCapsSoapCapabilitiesAn object defining the capabilities required for each method
HandleSoapMessageSoeSoapImpl.HandleSoapMessageThe function that handles messages
SoeSoapImpl(string, HandleSoapMessage)
Creates a SoeSoapImpl given the SOE name and the function that will handle messages. No capabilities will be enforced.
public SoeSoapImpl(string soeName, SoeSoapImpl.HandleSoapMessage HandleSoapMessage)
Parameters
soeNamestringThe name of the SOE
HandleSoapMessageSoeSoapImpl.HandleSoapMessageThe function that handles messages
Methods
HandleBinaryRequest(ref byte[])
This method implements IRequestHandler2.HandleBinaryRequest
public byte[] HandleBinaryRequest(ref byte[] request)
Parameters
requestbyte[]The request contents
Returns
- byte[]
The request response
HandleBinaryRequest2(string, ref byte[])
This method implements IRequestHandler2.HandleBinaryRequest2
public byte[] HandleBinaryRequest2(string capabilities, ref byte[] request)
Parameters
Returns
- byte[]
The request response
HandleStringRequest(string, string)
This method implements IRequestHandler2.HandleStringRequest
public string HandleStringRequest(string capabilities, string request)
Parameters
Returns
- string
The request response string