How to create web services in php using NuSOAP library
Download code or clone repository in to your system. If you have GIT installed. Open command line and go to root direcotry (www or wwwroot) of your WAMP, MAMP or XAMPP directory.
Type following command.
git clone git@github.com:programmer-blog/web-services-in-php.git
Tasks performed in this tutorial
-
Create a MySQL database and a table for books.
-
Insert sample data into the database table.
-
HTML form to get ISBN number from user.
-
POST form data to a php page and send to web service.
-
Create a web service that connects to MySQL database.
-
Fetch book information based on ISBN number and respond to client.
-
Client receives data from web service and display to user.
-
Add a new form to insert book data
-
Send new book data to web service
-
Insert data into mysql database using SOAP webservice
To read detailed tutorial.
http://programmerblog.net/web-services-in-php-using-nusoap/