SOAP Web Service Tutorials - Herong's Tutorial Examples - v5.13, by Herong Yang
Installing SOAP Extension on Windows
This section describes a tutorial on how to install php_soap.dll with PHP 5.0.4 on a Windows system.
Checking my PHP package to see if I have SOAP extension file on my system:
herong> dir \local\php\ext\php_soap.dll 01/06/2016 02:01 PM 244,736 php_soap.dll
Cool. I do have the SOAP extension file. No need to download it from the Internet. The next thing I have to do is to make it available to the run time environment by editing local\php\php.ini and insert the following line:
extension=php_soap.dll
Now check again:
herong> php PhpInfo.php > PhpInfo.txt herong> find /I "soap" PhpInfo.txt ---------- PHPINFO.TXT soap Soap Client => enabled Soap Server => enabled soap.wsdl_cache => 1 => 1 soap.wsdl_cache_dir => /tmp => /tmp soap.wsdl_cache_enabled => 1 => 1 soap.wsdl_cache_limit => 5 => 5 soap.wsdl_cache_ttl => 86400 => 86400
Ok. I think my system is ready to run SOAP functions now.
The next question is what SOAP implementation is this php_soap.dll. Is it PEAR SOAP, NuSOAP, or something else? To check this out, I right-mouse clicked on the file \php\ext\php_soap.dll, and selected Properties. The pop up window told me this:
Internal Name: php_soap.dll File Version: 7.0.2.0 Copyright (c) 1997-2014 The PHP Group
So the php_soap.dll is another PHP implementation of SOAP. Let's call it the PHP Group SOAP. You can visit the documentation Website at http://php.net/manual/en/book.soap.php.
Table of Contents
Introduction to SOAP (Simple Object Access Protocol)
SOAP Message Transmission and Processing
SOAP MEP (Message Exchange Patterns)
SOAP PHP Implementations: PEAR::Package::SOAP and NuSOAP
►Installing SOAP Extension on Windows
PHP SOAP Extension Client Programs
PHP SOAP Extension Server Programs
PHP SOAP Web Service Example - getTemp
Perl SOAP::Lite - SOAP Server-Client Communication Module
Perl Socket Test Program for HTTP and SOAP
Perl SOAP::Lite for NumberToWords SOAP 1.1 Web Service
Perl SOAP::Lite for SOAP 1.2 Web Services
Java Socket and HttpURLConnection for SOAP
SAAJ - SOAP with Attachments API for Java
SoapUI - SOAP Web Service Testing Tool
WS-Security - SOAP Message Security Extension
WS-Security X.509 Certificate Token
Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service
Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services
Perl SOAP::Lite 0.710 for WSDL