Migrate from SOAP Toolkit to Web service

Source: Internet
Author: User
Tags soap web services
Abstract: how to access Web services from Visual Basic 6.0 and Visual Basic. NET, and how to convert existing SOAP applications to. NET platforms.
Target
Learn about the SOAP tool in Microsoft & reg; Visual Studio & reg;. NET.
Review using SOAP and Visual Basic & reg; 6.0 to access COM/COM + components
Access Web services from Visual Basic. NET
Migrate a SOAP Toolkit Application to a Web service
Prerequisites
What is Web service
Proficient in Visual Basic 6.0 and SOAP, and know how to create ActiveX & reg; DLL projects
Familiar with basic knowledge about Visual Studio. NET
Web Services, SOAP, and your tools
Web services provide the ability to access the Internet, that is, to call Web services and obtain returned results. The new feature of Web services is that you can now connect to services on the world's largest Internet. However, as a Visual Basic programmer, Web services handle tedious Internet transactions for you.
In this article, you will learn how to use Visual Studio. NET access to Web services, review the process of using Visual Basic 6.0 and SOAP Toolkit 2.0 to create Web services, and learn how to convert existing SOAP Toolkit applications in.. NET Framework.
The Web service used in this article has a very simple function createCustomer. It accepts the customer's name and returns the customer's identifier. However, we will not discuss the functions of Web services here, so that you can focus on how to create and access Web services using Visual Basic 6.0 or Visual Basic. NET.
Visual Basic and SOAP
Users send and receive SOAP documents to communicate with Web services. In Visual Basic 6.0, there are two ways to create a SOAP document:
Concatenate a string combination document
Use SoapClient in SOAP Toolkit 2.0
SoapClient not only creates a SOAP document to communicate with the Web service, but also sends the document to the Web service for processing.
On the transmitted Web server, a SOAP listener is required to capture and process the documents sent by the client. SOAP Toolkit 2.0 includes SoapServer, which can be used in listening applications to process SOAP documents. A listener is an application created separately. It is independent of components that implement Web services.

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.