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 I only introduce the standard webservice.
So how do you create WSDL? This is a really hard thing for PHP, and some
About the WSDL editor
The WSDL Editor enables you to edit the Web Service Description Language (Web service Description language,wsdl) file.
WSDL is an xml-based language used to describe Web services. A WSDL file contains the following types of information:
Information a
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 demo, use the cw.php file to generate the WSDL file with the following co
SDL is the description of web service software. Specifically, it describes all public available methods, exchange methods, message types, and transport protocols and Web Service addresses at the network layer. Client Applications can find web services for specific transmission protocols and call any public methods. Basically, WSDL can be seen as a contract between the service provider and the service requestor. WS
WSDL Overview
OverviewWSDL is an XML application that defines the Web service description as a set of service access points, the client can use these service access points to access services that contain document information or process calls (similar to remote process calls ). WSDL first abstracts the access operations and the request/response messages used for access, then, bind it to the specific transmis
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 understand)
Here I will only introduce the standard webservice.
How to Create A wsdl? For PHP, this is really not easy. Some
Detailed description of the XML structure in the WSDL type and Information section
The data type of the WSDL is the "xml schema:datatypes" (XSD), according to the current recommendation of the consortium. There are three different versions of this file (1999, 2000/10, and 2001), and if you want to specify which version to use for a particular WSDL document, decla
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. Modify the public method getWsdl () of SoapDiscovery. class. php to automatically generate the wsdl file (note the storage
PHPsoapWebService uses SoapDiscovery. class. php to generate the wsdl file ,. PHPsoapWebService uses SoapDiscovery. class. php to generate the wsdl file. PHPsoapwebservice uses the wsdl file demo: server PHP soap Web Service uses SoapDiscovery. class. php to generate the wsdl file,
PHP soap web service uses the
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 webservice, which can only be accessed by PHP
• Standard webservice requires the use of
WSDL file exampleLet's take a look at the WSDL file to see its structure and how it works. Note that this is a very simple WSDL document instance. Our intention is only to illustrate its most significant characteristics. The following content includes more detailed discussions.
Targetnamespace = "http://tempuri.org/
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 understand so)
Here I only introduce the standard webservice.
So how do you create WSDL? This is really not easy for PHP,
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 defines SOAP messages in a platform-and language-independent way, and they do not contain any random or language-dependent elements. This defines a range of services that can be implemented by different Web site
Web|web Service
In the world of Web services, applications are largely made up of remote, XML-driven components that are written in different languages and are connected through the Web using standard remote activation protocols. The service provider defines the data format that is required for the service provided. Similarly, when you accept Web services in the above application mode, you also need to take steps to ensure that your client program uses the da
Let's take a look at the structure and working principle of a sample WSDL file. Note that this is just a simple WSDL document instance. Our goal is to briefly display the most significant features, which will be discussed in detail in the subsequent sections.
The following is a preview of the WSDL document:
The first line defines this document as an XML docume
Original: http://blog.csdn.net/pautcher_0/article/details/6798351
Web Service realizes business demand: Web Service is the one that really "acts", provides a general term of the interface.
WSDL provides a "document description of what can be done": A descriptive format for the service to be provided. I want to help you, but I'm going to tell you what I can do, and what kind of parameters I need to do these things.
SOAP provides the specificati
PHP how to invoke WSDL, what kind of class, who can give a detailed code? Thank you
Reply to discussion (solution)
Depends on your needs.
$WSDL = "HTTP://192.168.1.2/JAXWS/SERVICES/TEST?WSDL";$client = new SoapClient ($WSDL);$param = Array (' arg0 ' = ' arg0 ', ' arg1 ' = ' arg1 ');$ret = $client->getuserinfoby
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 Web service operations and messages in an abstract way unrelated to the implementation language.D. The operation and message are abstracted and then bound to the sp
Let's take a look at the WSDL file to see its structure and how it works. Note that this is a very simple WSDL document instance. Our intention is only to illustrate its most significant characteristics. The following content includes more detailed discussions.
Targetnamespace = "http://tempuri.org/wsdl"Xmlns: wsdlns = "http://tempuri.org/
How does PHP call wsdl? what kind of classes are needed? who can provide detailed code? Thank you.
Reply to discussion (solution)
Depends on your needs
$ Wsdl = "http: // 192.168.1.2/jaxws/services/test? Wsdl ";$ Client = new SoapClient ($ wsdl );$ Param = array ('arg0' => 'arg0', 'arg1' => 'arg1 ');$ Ret = $ cli
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.