|
Posted by Jochem Maas on 02/17/05 17:05
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
>
>>...
[Back to original message]
|