[wsf-c-dev] [PHP] Re-write WSDL mode stuff in C?

Samisa Abeysinghe samisa at wso2.com
Sun Oct 7 21:18:58 PDT 2007


Buddhika Semasinghe wrote:
> Sanjiva Weerawarana wrote:
>> Ouch. Good point :(.
>>
>> Hmmmmm. How much "stuff" is it? Isn't it a matter of invoking the 
>> XSLT processor and then doing work to dynamically generate some code? 
>> The latter bit has to be language specific - so how much of code 
>> reuse do we really get?
As Buddhika mentioned, there is no PHP code generated. We rather 
generate sig model, then use that for data binding. So much of the code 
could be re-used for Ruby, if written in C.
And yes, it is basically XMLT processing to generate the sig model and 
then some DOM processing to process the sing and WSDL.

Samisa...
>>
>> Sanjiva.
>>
>> Samisa Abeysinghe wrote:
>>> Buddhika have almost completed the WSDL mode for WSF/PHP. He 
>>> implemented this in PHP with the XSLTs form Mashup project.
>>>
>>> Now it looks like, for Ruby, we would have to re-implement the same 
>>> stuff. Would be an issue for python as well.
>>>
>>> Would it be a good idea to re-write the stuff in C, so that we could 
>>> use them across WSF scripting projects?
>>>
>>> Samisa...
>>>
>>
> For now we have implemented  WSDL mode only for the client side(It is 
> rather same logic for server side as well).And one thing I want to 
> mention is that, it is only  dynamic invocation and we do not generate 
> language specific code. IMHO if it is written in C then for the Ruby 
> and Python guys can use the same code since same logic applies for them.
>
> Thanks
> Buddhika
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>


-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2 Web Services Framework%2FPHP - Open source PHP extention for providing and consuming Web services in PHP"




More information about the Wsf-c-dev mailing list