C++ web service framework

2019-01-17 02:20发布

We are looking for a C++ Soap web services framework that support RPC, preferably open source. Any recommendations?

12条回答
我想做一个坏孩纸
2楼-- · 2019-01-17 02:35

Apache axis-c: Simple to use, but seems abandoned.. not even download pages is working for several months

WSOF WSFCPP: Fast quickstart dev, both binded or no-binded implementation, based on Apache AxisC and it seems most of the current developers of Apache Axis is from WSOF company. Besides the Great potential I've detected a memory leak.

I'm currently using Gsoap and It has very good performance. Gsoap "mixed notation" between old c style and some (bad?) practices for C++ bothers me some.. but this is only code-furniture.

POCO: Is a full-feature, modern (java?) like library. It is open source software, licensed under the Boost Software License 1.0. You'll have to write some things from scrach, but with great support, utility classes and etc great library.. Innovations from c++11+ with all boost initiatives + POCO + a new Build/Dependency system more "gradle like" will certainly bring c++ to new areas of development.

查看更多
贼婆χ
3楼-- · 2019-01-17 02:36

POCO Remoting gives you a very simple way of creating web services in C++ by just annotating C++ class definitions with special comments and running a code generator over it. It's commercial, but delivered with full source code. A free eval version is available. Runs on Windows, Linux, Mac OS X, etc.

查看更多
ゆ 、 Hurt°
4楼-- · 2019-01-17 02:44

I have used SWIG to make an interface from C++ to Java or Python and then used the typical web interface support for those languages.

Since Java and Python have reflection the web services frameworks that exist for them have a much easier time passing data around.

Threading wise if your C++ code is thread safe you can let the Java server manage the creation of threads for concurrent requests etc. and just call into your C++ code using JNI.

As a bonus you can test your C++ code from Python using these same SWIG interfaces.

查看更多
姐就是有狂的资本
5楼-- · 2019-01-17 02:46

While not FOSS another library is ATL Server library from Microsoft. It is C++ template based with some proprietary attributes by Microsoft. i.e. not standard C++

查看更多
相关推荐>>
6楼-- · 2019-01-17 02:48

WSO2 Web Services Framework for C++ (WSO2 WSF/C++), a binding of WSO2 WSF/C into C++ is a C++ extension for consuming Web Services in C++.

http://wso2.org/projects/wsf/cpp

Apache Axis is an open source, XML based Web service framework. It consists of a Java and a C++ implementation of the SOAP server, and various utilities and APIs for generating and deploying Web service applications.

http://ws.apache.org/axis/

查看更多
走好不送
7楼-- · 2019-01-17 02:48

http://code.google.com/p/staff/

Staff is Web Service Framework for C++ (service/component and client-side)/JavaScript(client-side) based on Apache Axis2/C.

Open-source, released with Apache License V2.0.

查看更多
登录 后发表回答