[wsf-c-dev] WSF4PHP Feature list for this release

Samisa Abeysinghe samisa at wso2.com
Fri Dec 15 04:16:13 PST 2006


James Clark wrote:
>>  In annotations user can put 
>> *@return* then we know it returns a value. But if the function does not 
>> returns a value ( msg in only case) what we should do?.Do you have any 
>> idea.??
>>     
>
> Nasty problem.
>
> If the user doesn't specify @return, I think you have to assume it
> doesn't return a value.
>
> The only other thing I can think of would be to use the
> filename/line-number information from the reflection API, go open the
> file, use the line-number to get the text for the function and then
> search for the return keyword!  But I really don't want to do that.
>
>   
>>> Also write a warning to a log file.
>>>   
>>>       
>> Could please explain this logging  should be done in php level or c 
>> level ( through wsf_c level).I m asking whether we should write a php 
>> script or c code.
>>     
>
> PHP, I would think.  But really there shouldn't be a difference: since
> our C logging API is pluggable, the PHP integration should set up the C
> logging so that it uses the PHP C API logging functions.
>   
At the moment, PHP log and Axis2/C log is separate. I mean, when the 
user is using our extension, we are writing a Axis2/C specific log file 
to a separate location. I think we have to merge C logging with PHP log.

Samisa...





More information about the Wsf-c-dev mailing list