Web Services - WSDL: Anatomy of WSDL Document
PHP Web Services Using WSDL Step By Step Tutorial - Part 1: We ever talk about web services at here. At that post, we use nusoap to practice web service. Now, we will use Web Services description Language (WSDL). WSDL is an XML grammar used to describe a web service. It defines how the web service is accessed, the operations it performas, how messages are passed and the structure of the messages. In this post, we talk about anatomy of WSDL.
Below is anatomy of WSDL document:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<!-- definition of types used in WSDL-->
</types>
<message>
<!--abstract definition of the data being transmitted-->
</message>
<portType>
<!-- a set of abstract operations referring to input and output messages -->
</portType>
<binding>
<!-- concrete protocol and data format specs -->
</binding>
<service>
<!-- specifies locations and bindings for a service -->
</service>
</definitions>
The funny thing, you may look simple structure above. May you imagine it will simple and short document. No! It will longer document than you dream! So, I will talk step by step each part of the document.
As result of this practice, we will collaborate with SOAP to generate services. This tutorial must be run at PHP 5.
Next post, we will talk type in more detail. Don't miss it!
| Series this article: Web Services - WSDL: Anatomy of WSDL Document Web Services - WSDL: Sample WSDL Document Web Services - WSDL: Types Web Services - WSDL: Messages Web Services - WSDL: Port Types Web Services - WSDL: Bindings Web Services - WSDL: Service Web Services - WSDL: Creating SOAP Server Web Services - WSDL: Testing with SOAP Client Tag: web services, wsdl, Category: PHP Application Post : April 09th 2008 Read: 4,796 blog comments powered by Disqus |
