[wsf-c-dev] [PHP] WSService API additions

James Clark james at wso2.com
Mon Feb 12 01:41:34 PST 2007


On Mon, 2007-02-12 at 02:33 -0800, nandika wrote:
> > As far as function adding is concerned, both WSService and SoapServer 
> > are interested in function name. So the semantics are the same.
> > However, with SoapServer the added function could take parameters that 
> > are of any type. (the WSDL in use would govern what these parameters are)
> > But with our extension, the function needs to take a WSMessage object 
> > instance as the parameter. Hence the runtime semantics differ.
> > We need to figure out how to come up with a mapping between them.
> We should allow any php function ( function which accepts parameters 
> other than WSMessage ) to be added to service.

Doesn't this really parallel the situation on the client side where we
introduced WSCallableClient and method signatures and so on?

We ought to follow an orthogonal approach to the client side.  The user
can specify any function even without WSDL provided they explicitly give
the signature.  If they have a WSDL, then the signature can default to
that specified in the WSDL.

James






More information about the Wsf-c-dev mailing list