[wsf-c-dev] [C++] WSF/C++ Server Side

Senaka Fernando senaka at wso2.com
Tue Jan 15 00:18:14 PST 2008


Hi devs,

I've been reading through the possibility of letting the C++ user
implement his Service as a Class and call his class methods by reading
through the services.xml. I don't think this is possible if we are to use
a dynamic loading model (using dlopen). This is because,

1. No reflection in C++ like scripting languages.
2. Name mangling in C++.
3. Demanglers being compiler specific.
4. The symbol demangler libiberty being GNU GPL.
5. Other reasons in [1].

However, it is possible to have a codegen model (WSDL2C++ or
ServicesXML2C++), where the user's class can be generated so that he can
go ahead and implement it.

Please reply with your suggestions.

Regards,
Senaka

[1] http://gcc.gnu.org/ml/gcc-help/2001-09/msg00171.html



More information about the Wsf-c-dev mailing list