English

How To: Redirect a SendAXLRequest request string to the QueryServer using the ArcIMS ActiveX Connector

Summary

The ActiveX Connector SendAXLRequest method sends an ArcXML request to the Spatial Server. You must redirect the request to the QueryServer when sending a GET_FEATURES request using this method because the ActiveX Connector only works with Image Map Services.

Procedure

The syntax for the SendAXLRequest method is:

Code:
ArcIMSConnector.SendAXLRequest(ServiceName,Request)

where ServiceName is the name of the MapService and Request is the actual ArcXML request.

If sending a GET_FEATURES request, be sure to specify the outputmode as xml and redirect the request to the QueryServer by appending to the ServiceName argument as follows:

Code:
ArcIMSConnector.SendAXLRequest(ServiceName&CustomService=Query,Request)