[wsf-c-dev] [WSF-PHP] setClass Method
Samisa Abeysinghe
samisa at wso2.com
Fri Feb 16 00:26:53 PST 2007
nandika wrote:
> hi all,
>
> We need to support setClass method in our API. This method allows us
> to expose all public functions
> in a php class as operations in a service.
>
> setClass(string classname);
>
> One issue to solve in this case is how to specify the addressing
> action for each operation in the class.
> any thoughts ...
If we map to the current API of operations and actions, we can pick the
operations array form the public methods of the class and assume the
function names to be the same as operation names. The, if there is an
actions array, we try to map those actions to the current list of
operations.
So we can use the same actions option syntax for the class case as well.
Samisa...
More information about the Wsf-c-dev
mailing list