Giorgio Zoppi wrote:
2009/12/26 Jean-Sebastien Delfino <[email protected]>:
I'm on vacation, so if I find time in the next few days I'm going to do some
coding in sca-cpp and try to get Web Services and Python components working
again with the latest Axis2/C and Python runtimes.

It should be a JIRA that I did some time ago. TUSCANY-3180 I guess, a
sort of initial work.



Thanks Giorgio. I looked at your SDO runtime patch in JIRA 3181 and it looks fine to me. I think you could just commit it to the SDO trunk.

With respect to the Axis2C and the SCA runtime, I've just made little progress as I've spent more time investigating the Python integration.

The Python support is working again, and the new integration with Python 2.6 is actually more straightforward than before. I've been able to wrap the function objects used in the rest of the SCA runtime in Python Callable objects and have also implemented simpler conversions between value types and PyObjects. In fact, that's not much code at all, about 250 locs to hook the interpreter [1], 150 to capture the Python standard out and err [2], and 50 to integrate with the server [3].

With respect to Axis2C, I've started to wrap it in a utility component that could be used as a sort of 'SOAP gateway SCA component' instead of a full blown SCA binding. I'd like to experiment a bit with that approach and see how that compares with a real SOAP binding. I'll try to give an update and commit some of this code if I find more time to play with it this weekend or the next one...

[1] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/modules/python/eval.hpp [2] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/modules/python/io.hpp [3] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/modules/server/mod-python.hpp

--
Jean-Sebastien

Reply via email to