An implementation helper class that can be contained by SOAP SOEs.
Constructors
Name | Description |
---|---|
SoeSoapImpl(String, SoeSoapImpl.HandleSoapMessage) | Creates a SoeSoapImpl given the SOE name and the function that will handle messages. |
SoeSoapImpl(String, SoapCapabilities, SoeSoapImpl.HandleSoapMessage) | Creates a SoeSoapImpl instance given the SOE name, the capabilities to enforce, and the function that will handle messages. |
SoeSoapImpl(String, SoeSoapImpl.HandleSoapMessage) Constructor
Creates a SoeSoapImpl given the SOE name and the function that will handle messages. No capabilities will be enforced.
public SoeSoapImpl(string soeName, HandleSoapMessage HandleSoapMessage)
Parameter | Description |
---|---|
soeName | The name of the SOE. |
HandleSoapMessage | The function that handles messages. |
SoeSoapImpl(String, SoapCapabilities, SoeSoapImpl.HandleSoapMessage) Constructor
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, HandleSoapMessage HandleSoapMessage)
Parameter | Description |
---|---|
soeName | The name of the SOE |
soapCaps | An object defining the capabilities required for each method |
HandleSoapMessage | The function that handles messages |
SoeSoapImpl.HandleSoapMessage Delegate
The function that handles SOAP messages.
public delegate void HandleSoapMessage(IMessage reqMsg, IMessage respMsg);
Parameter | Description |
---|---|
reqMsg | The request message. |
respMsg | The response message. |
Methods
Name | Description |
---|---|
SoeSoapImpl.HandleBinaryRequest(Byte[]) | This method implements IRequestHandler2.HandleBinaryRequest. |
SoeSoapImpl.HandleBinaryRequest2(String, Byte[]) | This method implements IRequestHandler2.HandleBinaryRequest2. |
SoeSoapImpl.HandleStringRequest(String, String) | This method implements IRequestHandler2.HandleStringRequest. |
SoeSoapImpl.HandleBinaryRequest(Byte[]) Method
This method implements IRequestHandler2.HandleBinaryRequest.
public byte[] HandleBinaryRequest(ref byte[] request)
Parameter | Description |
---|---|
request | The request contents. |
SoeSoapImpl.HandleBinaryRequest2(String, Byte[]) Method
This method implements IRequestHandler2.HandleBinaryRequest2.
public byte[] HandleBinaryRequest2(string capabilities, ref byte[] request)
Parameter | Description |
---|---|
capabilities: | Current capabilities |
request: | The request contents |
Returns: The request response |
SoeSoapImpl.HandleStringRequest(String, String) Method
This method implements IRequestHandler2.HandleStringRequest.
public string HandleStringRequest(string capabilities, string request)
Parameter | Description |
---|---|
capabilities | Current capabilities |
request | The request string |
SoeSoapImpl.HandleSoapMessage Delegate
The function that handles SOAP messages.
public delegate void HandleSoapMessage(IMessage reqMsg, IMessage respMsg);
Parameter | Description |
---|---|
reqMsg | The request message. |
respMsg | The response message. |
Inheritance Hierarchy
Inheritance: ESRI.ArcGIS.esriSystem.IRequestHandler2 → ESRI.Server.SOESupport.SoeSoapImpl