Web Service: Learning Web Service series with demo (9) -- calling Web service with B/S Program

Source: Internet
Author: User
I haven't updated my blog for a long time. Now I am mainly studying the development of GIS systems. If I have never developed a GIS system, I want to develop this guy. It's really a bit confusing. The previous leaders learned about Dundas map and finally did not use the Dundas map control. They still used the control in ArcGIS for development. I did not have this control, but they were still in. net references a name called studioat. mapnet. the DLL file is used. There is a thing called ArcXML in it. It is the XML document of the map that interacts with ArcIMS in the background (I personally understand it, but I do not know if it is correct) it is really troublesome to look at what you don't understand. I don't know if someone is familiar with ArcGIS. NET development, but also hope to give you some advice or give a learning book URL or something.

About web services, we will explore Web Services: Learning Web Service series (7) with demo-XML-related knowledge and Web Services: I used the demo to learn about soap messages in Web Services (8). I have simply studied XML, SOAP, and WSDL knowledge, for more and more comprehensive knowledge, we suggest you read relevant books. We also recommend the names of some books in these two articles, you can search for, download, and read these books on your website.
In the previous articles, we discussed C/S. Program The following describes how the B/S program calls Web Services. In the Visual Studio. net2005 development environment, the B/s program has two ways to connect to Web services. One is to call remote Web Services, and the other is to call local Web Services.
Let's first explain how the B/S program calls the remote web services. Here, the remote end does not refer to the distance, but the "distance" in the logic sense, that is, the Web services that are not in the B/S project, that is to say, the B/s program project and the Web Services Project are two different projects. At this time, when the B/S program calls web services, it is called to call the remote web services. Here we will no longer establish a web services project independently, but we will still use it in the Web Service preliminary study: Learning Web Service series with demo (2) -- compile a simple web service, a preliminary study of Web Service: Learning Web Service series with demo (4) -- changing the called Web Service, and a preliminary study of Web Service: learning Web Service series with demo (5) -- Accessing Database Web Services in connection mode "and" Web Services: Learning Web Service series with demo (6) -- myserviceclass ).
Now that we have a WebService (myserviceclass), let's create another website project to call this remote WebService (website project creation step -- omitted ). The procedure of calling this remote end in B/S is discussed in the Web Service: Learning Web Service series with demo (3) -- use a C/S program to call Web Services Code In the same way, the form is a webpage, but the background code is written in the same way.
How does B/s program call local Web Services? Because the Local Web Services and B/S programs are in the same project, it is simpler, just like calling the class in B/S program engineering.
At this point, we have explained the "Web Services: Learning Web services using demo series". I will talk about more advanced Web service applications when I have time, thank you for your support and encouragement.

Hope you can help me learn ArcGIS. Thank you very much!

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.