[wsf-c-dev] [PHP] WSService API additions
Samisa Abeysinghe
samisa at wso2.com
Thu Feb 15 19:08:20 PST 2007
> 3. When this generic function is invoked, I look at the payload's
> first element's local name to identify the function to be invoked form
> user code (the RPC SOAP body based style dispatching). This works.
I was thinking that, if we add a data member to WSMessage called opName,
the dispatching problem could be solved.
Then our C implementation can set the opName when passing the WSMessage
object to the generic() function.
As the SOAP ext always use the function name to be the same as the
operation name, I can use the opName form generic() and locate the user
function to call.
I agree that this adds a bit of noise to WSMessage, but solves the
current problem.
Samisa...
More information about the Wsf-c-dev
mailing list