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

Samisa Abeysinghe samisa at wso2.com
Mon Feb 12 00:57:47 PST 2007


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.
At the moment, if one adds such a function it fails in rely(). For Soap 
Ext stuff, for WSDL mode, it should be fairly straight forward how to 
wrap ours to work with their's. But I am still wondering how to do that 
in nonWSDl mode.

Samisa...





More information about the Wsf-c-dev mailing list