Herong's Tutorial Notes on Web Service and SOAP
Dr. Herong Yang, Version 3.00

Herong's Tutorial Notes on Web Service and SOAP

http://www.herongyang.com/Web-Services

Copyright © 2007 by Dr. Herong Yang. All rights reserved.

This free book is an excellent tutorial book for beginners. It is a collection of notes and sample codes written by the author while he was learning PHP himself. Topics include ActivePerl, Axis, Binding, Data Model, Encoding, HTTP, Java, Message, Message Exchange Patterns, NuSOAP, online, PEAR, PHP, Properties, RPC, SOA, SOAP 1.2, SOAP Extension, SOAP::Lite, UDDI, Web Method, Web service, WSDL

Table of Contents

About This Book

Web Services and SOAP Terminology

Introduction to Web Service

What Is a Web Service?

Web Service Related Technologies

Introduction to SOAP (Simple Object Access Protocol)

What Is SOAP?

SOAP Communication Example

SOAP Message Structure

SOAP Generic Message Structure

SOAP Fault Message Structure

SOAP Message Transmission and Processing

SOAP Protocol Binding

SOAP Distributed Processing Model

SOAP Features and Modules

SOAP Data Model

SOAP Encoding

What Is SOAP Encoding?

Multiple References and Circular References

Node Types - simple, struct, array

SOAP Encoding Attributes and Namespace

Using SOAP Encoding in SOAP Messages

SOAP RPC Presentation

What is SOAP RPC Presentation?

Using Web Methods to Invoke RPC

Using SOAP Messages to Invoke RPC

RPC Response Messages

SOAP Properties Model

SOAP Message Exchange Patterns

What Are SOAP Message Exchange Patterns?

Request-Response Message Exchange Pattern

Response Message Exchange Pattern

Web Method Feature

SOAP Action Feature

SOAP HTTP Binding

SOAP Perl Implementations

SOAP Perl Implementation - SOAP::Lite

SOAP::Lite for Perl on Windows

Installing ActivePerl v5.8.7 on Windows

SOAP::Lite 0.55 in ActivePerl 5.8.7

SOAP PHP Implementations

SOAP PHP Implementations: PEAR::Package::SOAP and NuSOAP

PHP 5.0.4 by The PHP Group

Installing SOAP Library on Windows

SOAP Java Implementations

SOAP Java Implementations: Axis and Apache WebService

Axis Installation Requirements on Windows

Installing Axis 1.2.1 on Windows

Installing JAF 1.0.2

PHP SOAP Extension Client Programs

What Is PHP SOAP Extension?

GetTemp.php - First Example with SOAP

PHP SOAP Extension Functions for Client Programs

GetTempDump.php - Dumping Debugging Information

Whis Is WSDL (Web Services Definition Language)?

Using SOAP Extension in non-WDSL Mode

PHP SOAP Extension Server Programs

PHP SOAP Extension Functions for Server Programs

HelloServer.php - First SOAP Server Application

HelloServer12.php - SOAP 1.2 Server Application

HelloServerWsdl.php - SOAP 1.2 Server Application in WSDL Mode

References

PDF Printing Version

Keywords: Message, Properties, SOA, SOAP, UDDI, Web Method, Web service, WSDL

Previous Version: http://www.herongyang.com/ws/index2.html

Dr. Herong Yang, updated in 2007
Table of Contents