TAILIEUCHUNG - Get Started with XML Web Services

Bắt đầu với 13,1 XML Web Services Tôi có nghe nói một số điều tuyệt vời về XML Web Services, nhưng tôi không biết làm thế nào để bắt đầu. Tôi phải làm gì để bắt đầu làm việc với XML Web Services? | Get Started with XML Web Services I have heard some great things about XML Web Services but I don t know how to get started. What do I do to get started working with XML Web Services Technique The best way to get started with XML Web Services is to simply create your own XML Web Service and start playing with it. Visual Studio .NET makes it extremely easy to do just that. To achieve this task you will be creating your first Web Service which of course will be Hello World. Now before you start groaning this example will show you the basics of creating a Web Service without a lot of other fluff that gets in the way and confuses things. Creating a Web Service The way you start to create a Web Service is to choose Web Service for a new project. When you have done this VS will create the Web Service project and you will be brought to what looks like a blank Web Form as displayed in Figure . Figure . Here is a newly created Web Service project. Note Remember Web Services can be created in various ways. Because you are creating this one using Visual Studio .NET you will be using to create it. For the most part you will be using Web Services to provide central processes or functionality that you want to be consistent regardless of where you consume it from. This means that you will not be creating a user interface that users will see you are basically creating a class-like interface that will provide methods hence the use of instead of .aspx . You will use .asmx as an entry point for your Web Service. To really get going with working with your first Web Service you will click on the View Code icon in the Solution Explorer. When you do so you will see the first method to create. That s right-it is Hello World. The first thing you should do now is uncomment the lines of code that read as follows WebMethod Public Function HelloWorld As String HelloWorld Hello World End Function The screen should look like Figure . Figure . .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.