Tag Archives: php online classes

How to install soap in php

Steps : How to install soap in php

Step 1 : Download soap library nusoap-for-php5 from the link :

Step 2 : unzip the nosoap in new folder “firstweb”.

Step 3 : Now Create two files server.php and client.php.

Step 4 : Inside the server.php Add the following code :

Now you have created the function on server.php file which will fetch data and return the response.

Step 5 : Add the following code in the client.php

Not Hit the client.php in url it will return the result.

Note: Client.php file is used for testing and development purpose.
All data which will be returned through the webservice will be in the form of the xml data set.