You appear to be running PHP5 with SOAP built-in. In that case, there is a
name clash with NuSOAP's soapclient class. You must edit nusoap.php, change
"soapclient" to "nusoapclient", then do the same edit on the source code you
are running.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "freex freex" <freexph@xxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, March 25, 2006 10:00 PM
Subject: [Nusoap-general] Can't make example run
Hi to all, i really wanted to use this tool NUSOAP so what I did is to look
for an Tutorial
I found one http://www.scottnichol.com/nusoapintro.htm. and I quickly
downloaded the
NUSOAP package at sourceforge.
I immediately encode the sample code for the server and client from the said
site (http://www.scottnichol.com/nusoapintro.htm )but when I
try to run the client. I got this error:
*Warning*: SoapClient::__construct(
http://localhost/freex/soap/s1/soap-server.php)
[function.--construct<http://localhost/freex/soap/s1/function.--construct>]:
failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server
Error in */home/freex/dev/web/soap/s1/client.php* on line *4*
*Warning*: SoapClient::__construct()
[function.--construct<http://localhost/freex/soap/s1/function.--construct>]:
I/O warning : failed to load external entity "
http://localhost/freex/soap/s1/soap-server.php" in *
/home/freex/dev/web/soap/s1/client.php* on line *4*
*Fatal error*: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from 'http://localhost/freex/soap/s1/soap-server.php' in
/home/freex/dev/web/soap/s1/client.php:4 Stack trace: #0
/home/freex/dev/web/soap/s1/client.php(4): SoapClient->__construct('
http://localhos...') #1 {main} thrown in *
/home/freex/dev/web/soap/s1/client.php* on line *4*
and the truth is I really dont know what this error means, can anyone help
me with this please.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
|