April 2026
Intermediate
1009 pages
34h 15m
English
nuSOAP impresses above all with its ease of use. You will find that you can set up your own server very quickly.
First, you need you need a server so that you can test the communication between the provider (server) and consumer (client). Let’s analyze the code:
To begin, you need the corresponding nuSOAP PHP file. It contains the functionality for the server and client and can be found in the lib directory after downloading and unpacking the ZIP:
require_once "lib/nusoap.php";
Then create a new server object. There you use register() to register the function you want to use:
$server = new nusoap_server(); $server->register("square");
You can also assign several functions to a SOAP server. But be careful: ...
Read now
Unlock full access