The first time with Nusoap, error, checked for a long time or did not solve the problem, ask a master.
003.php as follows:
Register (' hello '); $server->service ($HTTP _raw_post_data);
004.php as follows:
Call (' Hello '), echo $res, if ($client->geterror ()) {echo $client->geterror ();}
Browser access: http://localhost/eroom/004.php, the following message appears:
HTTP error:couldn ' t open socket connection to server http://www.127.0.0.1/eroom/003.php prior to connect (). This is often a problem looking up the host name.
Excuse me: what is the cause? How to solve? Thank you very much
Reply to discussion (solution)
Are you sure the URL is accurate?
http://www.127.0.0.1/eroom/003.php
?? The address has a??。
?? It's 127.0.0.1.
Are you sure the URL is accurate?
http://www.127.0.0.1/eroom/003.php
?? The address has a??。
?? It's 127.0.0.1.
My fault!!!