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

soeName string

The name of the SOE

soapCaps SoapCapabilities

An object defining the capabilities required for each method

HandleSoapMessage SoeSoapImpl.HandleSoapMessage

The 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

soeName string

The name of the SOE

HandleSoapMessage SoeSoapImpl.HandleSoapMessage

The function that handles messages

Methods

HandleBinaryRequest(ref byte[])

This method implements IRequestHandler2.HandleBinaryRequest

public byte[] HandleBinaryRequest(ref byte[] request)

Parameters

request byte[]

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

capabilities string

Current capabilities

request byte[]

The request contents

Returns

byte[]

The request response

HandleStringRequest(string, string)

This method implements IRequestHandler2.HandleStringRequest

public string HandleStringRequest(string capabilities, string request)

Parameters

capabilities string

Current capabilities

request string

The request string

Returns

string

The request response string