TAILIEUCHUNG - build your own ajax web applications PHẦN 7

Ví dụ, hãy xem xét đánh dấu sau đây. Nếu người dùng nhấp chuột vào văn bản trong đoạn văn, các yếu tố p sẽ được trả lại không phải là div main1 bạn có thể có dự kiến . Stargate SG-1 mà thực sự khoa học viễn tưởng? Hoặc chỉ là một nhóm của chàng trai mặc đồng phục quân đội? | SOAP SOAP SOAP which originally stood for Simple Object Access Protocol2 is an XMLbased protocol with roots in XML-RPC. As with plain XML-RPC SOAP relies on libraries of code to create and decode the XML commands that magically allow your code to call code on the remote machine. In theory you should never have to deal with the complexity of SOAP your chosen library should take care of it all for you. However in reality getting to a point where you can actually work with SOAP getting a library in place figuring out its API and deciphering the cryptic error messages that appear when something unexpected happens can prove to be fairly complex and frustrating in its own right. WSDL WSDL Web Services Description Language reduces the complexity of SOAP by providing a description of the web service that your code can use in setting up its SOAP client. It includes information such as the URI that should be used to make queries and the functions and datatypes the service supports. A WSDL file is an XML-based document that acts something like a remote config file for your SOAP client. Ideally you should be able just to pass your SOAP client the URI of the WSDL file and have it figure out how to use the service. Using WSDL with PHP s SOAP extension looks something like this soapClient new SoapClient http api result soapClient- doMovieSearch key movieTitle It should be as simple as that once you get your library set up and figured out that is. Network-centric vs Application-centric REST is a network-centric protocol meaning that it was designed with the idea of making network communication easier without a heavy focus on the applications that have to work with it. 2 The SOAP acronym was officially changed by the W3C in version of the specification when it was realized it wasn t simple at all. SOAP now stands for . SOAP. 171 Licensed to siowchen@ Chapter 6 Web Services and Slide-and-hide The pieces of your app are expected to comprise

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.