TAILIEUCHUNG - Building XML Web Services for the Microsoft .NET Platform phần 6

Thay vào đó, tôi sẽ thêm một hạn chế mô hình để định nghĩa ProductID hạn chế các loại ký tự mà giá trị của các loại đó có thể chứa. xml phiên bảncác yếu tố dịch vụ có chứa các cấu hình cho các đối tượng tiếp xúc với các ứng dụng khác | Table 6-11 Selected Properties Methods and Events of the SoapHttpClientProtocol Class Property Description group to use when connecting to the Web service. A connection group provides a mechanism for allowing multiple clients within the same application to share connections open to a given Web server. CookieContainer Used to access the cookies maintained by the proxy. Also provides a mechanism for setting cookies for a particular domain. Credentials Specifies authentication credentials that can be used to log into the Web server. The supported methods of authentication include Basic Authentication Windows NT Challenge Response Kerberos and Digest. PreAuthenticate Specifies whether the authentication credentials should be sent immediately or as a result of receiving a 401 access denied error. Proxy Contains the information necessary to connect to the proxy server. This includes the URL port and user name domain password. RequestEncoding Specifies the type of encoding that will be used when serializing the request message. The default is UTF-8. Timeout Specifies the period of time in milliseconds that a synchronous Web request has to complete before the request is aborted. The default is infinity -1 . Url Specifies the address of the Web service endpoint. UserAgent Specifies the value of the user agent header in the HTTP request. Method Description Abort Used to abort any asynchronous method calls that are currently executing. Discover Used to dynamically discover the location of the Web service via the DISCO file referenced by the Url property. Event Description Disposed Used to provide notification when the proxy has been disposed. Let s step through the code generated by to see how the proxy class is implemented ----------------------------------------------------------- autogenerated This code was generated by a tool. Runtime Version 192 Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. .

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.