WSDL dynamic invocation TODOs for PHP Re: [wsf-c-dev] PHP API TODOs

Samisa Abeysinghe samisa at wso2.com
Mon Dec 18 23:27:58 PST 2006


> 2. we need to have an API to support wsdl mode in Server Side as well.
>    Obvious addition to the API is an option "wsdl"=>"wsdl file location".
I thought this was already done this time when you were working on WSDL 
dynamic stuff with SOAP ext. Did you only work on client side?
>  
> 3. Need to add setClass Function to server side.
>
> WSService::setClass(string classname, array ops_to_functions, array  
> action_to_functions)
> Exports all methods from specified class.
>
> classname is the name of the class, This is mandatory.
> ops_to_functions is a array of mappings from operations to functions 
> similar to one used in WSService constructor.
> actions to functions is mapping of actions to functions.
> In ext/soap extension setClass function they accept additional 
> argumets to setClass function which will be passed
> to default constructor of the class. Should we have the same ?
Are the two arrays ops_to_functions and action_to_functions optional? I 
think they should be, in case the user wants to use just the class name.

Samisa...





More information about the Wsf-c-dev mailing list