[wsf-c-dev] [PHP] MEP problem for one way operations
Buddhika Semasinghe
buddhika at wso2.com
Wed Feb 21 22:38:58 PST 2007
James Clark wrote:
>> I do not think, giving a yet another option for the PHP user to specify
>> the MEP is a good idea.
>>
>
> +1
>
>
>> However, looking at the PHP function we can tell
>> if an operation is one-way, if the function does not return anything.
>>
>
> I think that's the natural approach.
>
>
>> In
>> Zend API (C code), I could not find a way to tell whether a given PHP
>> function would return something or not without calling that function.
>>
>
> If you can't do this, then could we add the operation at the C level
> lazily? When an operation is added to a service at the PHP level, don't
> add the operation at the C level, but keep it as a pending operation at
> the PHP level. If an operation is invoked and the C level can't find an
> appropriate operation, then check the pending operations and invoke the
> appropriate one. Only then add it at the C level using the return value
> to determine the MEP.
>
> Don't we have the same problem in generating the WSDL?
>
I don't think so. In WSDL generation, it is handle only in php level not
in C level , then such a problem will not be arise.
thanks
Buddhika
> James
>
>
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
>
More information about the Wsf-c-dev
mailing list