NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
method is finished unexpectedly with no exception


Joined: 17 Sep 2009
Posts: 1
Reply with quote
The following PHP code is executed from a client (javascript) code:

try {
$result = $client->call('Groups_GetRecipients', array("groupid" => $id));
debug("Groups_GetRecipients finished");
// additional code here is NOT executed - never get to this point
}
catch (Exception $exception) {
debug("Caught exception: " . $e->getMessage());
}

according to the client side the execution is finished but in the server side i don't see any message - it seems that the call method was not finished successfully but it also didn't throw an exception. i'm not sure how can it be that from the client point of view the script was finished but i don't see any message in the server side.

any ideas ?
View user's profileFind all posts by tamirlaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
being php legacy code, nusoap does not throw any exceptions. See the samples on how to handle errors.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
method is finished unexpectedly with no exception
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic