phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Webservices - WSDL: Anatomy of WSDL Document

Tag: web services, wsdl,    Category: PHP Application
post: 09 Apr 2008 read: 1,010


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:
Webservices - 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

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting