Re: use_soap_error_handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FENDT Charles wrote:

...

just an exmple :

<?php
echo "begin\n";
$server = new SoapServer(null, "http://test/";);
try {
  $server->handle("");
} catch (Exception $e) {
  echo "ERROR\n";
}
echo "end\n";
?>



I can't test this (no machine with the SOAP extension + lack of time + less than stellar skills when it comes to compiling stuff :-)

I am wondering what the return value of $server->handle() is, maybe
you will have to check the return value to see if an error occurs.


void ... :-(

void SoapServer::handle([string])
no exception...

in 2 words... NO INFORMATION on what happened

have you tried setting a handler function for the SoapServer, before calling SoapServer::handle() ?:

function test($v) { var_dump($v); }

$server->addFunction("test");

if you do that do you get any output? if not then I'm really no more help to
you... you next best bet is to dive into CVS and check the test scripts (if there are any),
unpublished documentation/examples (if there are any) and the source code (if it means
anything to you.)

if all that fails you might consider going higher up the PHP foodchain
and mailing the maintainer/list politely asking whether there maybe a problem - if you
do decide to mail the maintainer  or internals or something - be polite, apologetic, consise
and make sure you detail your problem fully - they are all busy people and you want to
maximise the chance of getting a useful reply :-).



FENDT Charles

...

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux