Learn about php send xml request and get response, we have the largest and most updated php send xml request and get response information on alibabacloud.com
Author: Ruheng
Address: http://www.jianshu.com/p/c1d6a294d3c0
In this paper, the HTTP request and response process to explain the relevant knowledge points involved.
First
HTTP requests and corresponding steps
Picture from: Understanding HTTP
WebService introduction WebService is generated for the communication of heterogeneous systems. its basic idea is to provide a standard mechanism for remote calls using XML-based HTTP, this eliminates the need to establish a new protocol. At present,
In the previous article in this series, you saw how the Ajax applicationXML format the request sent to the server. I also learned why this is not a good idea in most cases. This article focuses on a good idea in most cases: Returning XML responses
a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
1. Http packets are text-oriented. Each field in the packet is an ASCII string, and the length of each field is uncertain. HTTP has two types of packets: Request Message and Response Message.
An HTTP Request Message consists of four parts: request
HTTP protocol:HTTP, Hypertext Transfer Protocol (hypertext Transfer Protocol) is the most widely used network protocol on the Internet! All WWW files must adhere to this standard, the original purpose of design HTTP is to provide a way to publish
Php integrates the xml-RPC and SOAP protocols for access, both of which are concentrated in the xmlrpc extension. In addition, in php pear, both PHP4 and PHP5 have been integrated with the XML-RPC extension by default, and the extension has nothing
The XML-RPC in PHP constructs WebService. PHP integrates access to both XML-RPC and SOAP protocols, both of which are concentrated in xmlrpc extensions. In addition, in php pear, both PHP4 and PHP5 have been integrated with the XML-RPC extension by
[WebService prefix] WebService is generated for the communication of heterogeneous systems. its basic idea is to provide a scale mechanism for the application of XML-based HTTP remote calls, this saves the need to establish a new protocol. Currently,
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.