Perfect Soap (Wsdl) web service in php

80,919

Solution 1

Here are some tutorials & examples of SOAP (WSDL) web service in PHP:

  1. Creating Web Services with PHP and SOAP, Part 1 (out of date - nusoap)
  2. Creating Web Services with PHP and SOAP, Part 2 (out of date - nusoap)
  3. wsdl2php Manual (PHP SOAP extension)
  4. Web Services - WSDL: Creating SOAP Server (PHP SOAP extension)
  5. WSDL Document Example (SOAP explanation, no PHP)

Edit: For Latest Version of PHP above 5.3

The SoapClient class is used in latest version of PHP (5.3 & up).

It may help you.

Solution 2

Please avoid following some the suggested links from Tony Stark's answer, they are really out of date.

For example, using nusoap is really a pain in the ass with a currently supported version of PHP (e.g. 5.3/5.4).

A better alternative is the SoapClient from the native PHP SOAP extension.

Share:
80,919
tv.ashvin
Author by

tv.ashvin

PHP Programmer

Updated on August 02, 2022

Comments

  • tv.ashvin
    tv.ashvin almost 2 years

    I am a PHP programmer, I want to create a SOAP web service using WSDL.

    Please could someone suggest any simple tutorials or code that enable me to make object on Device (iPhone, Blackberry, Android) End.