Connection Method of ArcGIS Server

Source: Internet
Author: User

ArcGIS Server can be connected through local and Internet. Local connections are connected to Som by using AO at the Customer Service end, while Internet connections are connected to the Web service end by using a local proxy at the Customer Service end, local proxy refers to the Local Development Environment (.. net, Java.

Local connections allow you to use the ao api and soap API to operate services, that is, server objects and server context. If you need to permanently change the state of server objects (stateful), you can only use the ao api, of course, you also need to use the local method to connect. The local connection requires the server machine name and the service name to be connected, and the connection must use the user in the agsusers or agsadmin Group to add identity verification; local data sources allows developers to operate fine-grained AO through server context, that is, they can use a wide range of AO functions in the Web ADF application, such as editing layers and network analysis. If you use local data source programmatically, use the data resource library ESRI. arcGIS. ADF. web. datasources. arcgisserver, map description can be obtained through mapfunctionality; while mapresourcelocal can also be obtained through servercontextinfo. servercontext to get the context.

Internet connection only provides the ability to use soap APIs to access and operate services through WSDL, and all services are stateless. For Internet data source, context is invalid, and of course there is no fine-grained AO function. The indentity verification of this connection is not required, because ArcGIS Server Web services can use web server-based verification, that is, multiple Internet data sources in a web application can adopt different security authentication methods. The pool type is recommended for Internet-connected services, while the non-pool type only applies to services of a single user and must be destroyed after each use. If you connect to and use non-pool services over the Internet, each map operation will create and destroy a process, which will greatly affect your work efficiency. If you use Internet Data Source programmatically, use the data resource library ESRI. arcGIS. ADF. web. datasources. arcgisserver, which contains the functionality class and other fine-grained task classes for stateless use.

In short, you can select the connection mode of the client to the server according to the following rules:
1. Internet connection uses soap APIs and uses URLs to connect to the web service. Internet connections can be applied to internal (LAN) and Internet networks.
2. The local connection method can use the ao api or the soap API. The local connection can only be used in the LAN according to the customer service needs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.