1. Create WSDL
Description
A, non-standard webservice, can only be accessed by PHP
B, the standard webservice, you have to use the WSDL (WebService Description Language, is the XML syntax standard to describe your service content, I understand)
Here
1. Create A wsdl
Note:
A. Non-standard webservice, which can only be accessed by PHP
B. The standard webservice must use wsdl (webservice description language, which is used to describe your service content in XML syntax standards, which I
Use wsdl in PHP to create a standard webservice. Note: Non-standard webservice may only allow PHP to access standard webservice. you must use wsdl. here I will only introduce the standard webservicewww.2cto.com. 1. create a WSDL:
• Non-standard
1. Create WSDL
Description
A, non-standard webservice, may only be able to access PHP
B, the standard webservice, you have to use the WSDL (WebService description Language, is to use the XML syntax standard to describe your service content, I
Transferred from: http://www.blogjava.net/baoyaer/articles/116413.htmlA WSDL document can be divided into two parts. The top part consists of an abstract definition, and the bottom part consists of a specific description. The abstract section
NOTE: & amp; bull; non-standard webservice, which can only be accessed by PHP & amp; bull; standard webservice, you must use wsdl. here I will only introduce the standard webservicewww.2cto.com 1. create WSDL1. Download SoapDiscovery. class. php
The PHP Soap Web service uses SoapDiscovery.class.php to generate the WSDL file,
The PHP SOAP Web service uses the WSDL file demo:
==============================================================
Service side:
Before using the WSDL Soap WebService
Note:
• Non-standard webservice, which can only be accessed by PHP
• Standard webservice requires the use of wsdl
Here I will only introduce the standard webservice www.2cto.com
1. Create A WSDL
1. Download SoapDiscovery. class. php online
2.
The first is to introduce the whole process
Contract Priority Development process1. Write the schema or WSDL file first2. Generate a client code based on this file3. Write the implementation class (Specify Wsdllocation on the implementation class)4.
WSDL: Web Services descirption language ). A. The service provider sends all the rules used to call the Web service to the service requestor through the Web service description.B. WSDL describes web services in a standard XML format.C. It defines
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.