SOAP problem

From: Date: Sun, 21 Apr 2002 15:07:41 +0000
Subject: SOAP problem
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5704@lists.php.net to get a copy of this message
i am playing with the SOAP lib and really strange things happen, i can not really reproduce them. but it seems that it has something to do with the session. if i call session_id then it sometimes happens, that the browser never returns, its just "loading" until i stop it by hand. all this i am doing in the SOAP-server script. did anybody ever have a problem like that? i dont think it makes much sense putting the sourcecode here since it is simply not reproduceable but anyway. but as u can see the source is so simple ... server.php include('SOAP/Server.php'); session_id('xxx'); // this causes a problem sometimes session_start(); class myRemoteClass {
       function getX()
       {
           return new SOAP_Value( 'getIdByPathResponse' , 'int' , 1 );
       }
} $myObj = new myRemoteClass(); $server = new SOAP_Server; $server->addObjectMap($myObj); client.php include("SOAP/Client.php"); $soapclient = new SOAP_Client('http://ludwig/test/SOAP/bug/server.php'); $return = $soapclient->call('getX', array('naja') ); print_r($return); print '<br><br>'.nl2br((htmlentities($soapclient->wire))); thanks 4 any help -- Wolfram ... translating template system ... http://sourceforge.net/projects/simpletpl

« previous php.pear.dev (#5704) next »