[wsf-c-dev] [PHP] MEP problem for one way operations

Samisa Abeysinghe samisa at wso2.com
Wed Feb 21 18:27:39 PST 2007


When addition operations to a service, the operations array does not 
mention anything on the MEP. So in the PHP wrapper, when adding the 
operation to service, we assume the operation to be with two-way MEP. 
But if the user wants the operation to be one-way, that would cause 
problems with the Axis2/C engine as the one way PHP operation is 
presented to C engine as a two-way operations, leading to break some of 
the MEP related semantics.

I do not think, giving a yet another option for the PHP user to specify 
the MEP is a good idea. However, looking at the PHP function we can tell 
if an operation is one-way, if the function does not return anything. 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. 
Nandika, do you know if this is possible?

Samisa...

-- 
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)





More information about the Wsf-c-dev mailing list