PHPEveryday.com PHP and Web Development Tutorial
What are you looking for?


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 Bookmark and Share

blog comments powered by Disqus


Database Tutorial
  • Learn PHP MySQL
  • Learn PHP ADOdb
  • Learn PHP Data Object/PDO
  • Learn PHP XML
  • Learn PHP SimpleXML
Security Tutorial
  • Learn PHP Security
  • Learn HTTP Authentication
  • Learn PHPSecureSite
Framework Tutorial
  • Learn CodeIgniter
  • Learn Joomla
  • Learn Smarty
  • Learn Zend Framework
Template Tutorial
  • Learn Joomla Template
  • Learn WordPress Template
API Tutorial
  • Learn Facebook
JS Framework Tutorial
  • Learn MooTools
  • Learn JQuery
AJAX Tutorial
  • Learn AJAX in 10 Minutes
  • Learn AJAX Client Side
  • Learn AJAX PHP
  • Learn AJAX Remote Server
  • Learn AJAX Repetitive
  • Learn AJAX MySQL
  • Learn AJAX Grid
Web Services Tutorial
  • Learn Web Services NuSOAP
  • Learn Web Services WSDL
  • Learn Web Services WSDL Array
  • Learn Web Services .NET Grid
  • Learn Web Services WDDX
Package Post
  • Joomla Intro
  • Joomla Component
  • Joomla Module
  • Joomla MVC
  • Joomla MVC Backend
  • PostNuke Intro
  • Zend Framework Intro
  • Zend Framework Action
  • Zend Framework Database
  • Zend Framework Registry
  • Zend Framework Config
  • Zend Framework Login
  • Zend Framework Session
  • PHP Array Tips
  • PHP File Tips
  • PHP Email
  • PHP Ms Excel
  • PHP Pattern
  • PHP SMS
  • Flash Database
  • PHP Multitier
  • jQuery Introduction
  • jQuery Selectors
  • Portable Web Server
  • Web Mobile Intro
  • Drupal Installation
  • Drupal Configuration