logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: NuSoap and PHP 5.2: msg#00069

Subject: Re: NuSoap and PHP 5.2
This issue is "doubly" fixed in the current CVS revision.

First, a __toString method has been provided for nusoap_base.

Second, the debug statements that required string-izing of mixed 
variables that could be objects have been changed to use varDump or log 
nothing.

Scott Nichol
----- Original Message ----- 
From: "Peter Lauri" <peter@xxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 31, 2007 3:58 PM
Subject: Re: [Nusoap-general] NuSoap and PHP 5.2


> An accelerator might work for you. They pre-compile the php scripts so 
> they
> don't need to be compiled. Normally for every request you do to a php 
> script
> the script is compiled and then used. The php accelerator takes away 
> that
> part and keeps the compiled version of the code in its cache. (or 
> something
> similar, don't really know details).
>
>
>
> http://www.php-accelerator.co.uk <http://www.php-accelerator.co.uk/>
>
>
>
> Or your might consider to split up and only require the classes that 
> are
> needed. I am not sure that all classes in the nusoap.php file are 
> needed.
> Probably you just need a few for the client, and a few for the server. 
> I
> don't know, but it might be worth a try :)
>
>
>
> /Peter
>
>
>
>
>
>
>
>  _____
>
> From: nusoap-general-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:nusoap-general-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Sebastian
> Kolbe
> Sent: Wednesday, January 31, 2007 7:00 PM
> To: nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Nusoap-general] NuSoap and PHP 5.2
>
>
>
> Hello
>
> There might be some problems with NuSoap and PHP 5.2.  I encountered 
> errors
> with a NuSoap-based web service after upgrading the apache server and 
> PHP.
> Messages only said something like:
> Object of class soapval could not be converted to string in nusoap.php 
> on
> line 5416
>
> I found that this problem was caused by debug statements in nusoap 
> which
> tried
> to add (Strings) of objects to variables.
>
> A solution for me was to add:
>     function __toString() {
>        return $this->name;
>    }
> in line 1991 of nusoap.php (class 'soapval').
>
> I believe this problem exists also in other classes... Maybe someone 
> with
> more knowledge of NuSoap can verify this.
>
>
>
>
> -- 
> --
> Sebastian
>
>


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, 
> security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--------------------------------------------------------------------------------


> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>